npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@es-plus/core

v1.0.1

Published

es-plus framework-agnostic core: shared types, utilities, and pure logic for both Vue 3 (@es-plus/vue3) and Vue 2 (@es-plus/vue2) renderers

Readme

@es-plus/core

Framework-agnostic core for the es-plus ecosystem — shared types, configuration, layout algorithms, request helpers, and pure logic powering both the Vue 3 (@es-plus/vue3) and Vue 2 (@es-plus/vue2) renderers.

npm version License: MIT

Overview

@es-plus/core contains zero Vue / Element / framework dependencies. It is the single source of truth for the schema-driven CRUD configuration shared by every renderer in the family:

| Renderer | Package | Framework | UI | | --- | --- | --- | --- | | Vue 3 | @es-plus/vue3 | Vue 3 | Element Plus | | Vue 2 | @es-plus/vue2 | Vue 2 / 2.7 | Element UI 2 | | MCP server | @es-plus/mcp-server | Node | — | | CLI | @es-plus/cli | Node | — |

A columns / formItemList JSON config that validates against the core schemas works identically in every renderer.

Install

npm install @es-plus/core
# or
pnpm add @es-plus/core

You normally don't install this directly — it ships as a dependency of the renderer packages.

What's inside

| Subpath | Purpose | | --- | --- | | @es-plus/core (default) | Re-exports of every public symbol below | | @es-plus/core/types | Shared TypeScript interfaces: ColumnConfig, FormItemConfig, BtnConfig, PaginationConfig, ApiParams, EsPlusOptions, … | | @es-plus/core/config | configureEsPlus, getGlobalConfig, EsPlusGlobalConfig | | @es-plus/core/constants | FORM_TYPES, CRUD_ACTIONS, default page sizes | | @es-plus/core/shared | Pure utilities (isObject, findValueByKey, flattenColumns, deepClone, …) | | @es-plus/core/form-layout | getRowColsAlgorithm — responsive row/col allocator | | @es-plus/core/table-selection | Cross-page selection set algorithm | | @es-plus/core/request | Request param construction + configTableOut response mapping | | @es-plus/core/field-resolver | Field default-value, formatter, and resolver helpers |

Quick example

import { configureEsPlus } from '@es-plus/core/config'
import { getRowColsAlgorithm } from '@es-plus/core/form-layout'
import { findValueByKey } from '@es-plus/core/shared'

configureEsPlus({
  httpRequest: async ({ url, method, data }) => {
    return fetch(url, { method, body: JSON.stringify(data) }).then(r => r.json())
  },
  configTableOut: (res) => ({ list: res.data.records, total: res.data.total }),
  permission: (code) => userPermissions.includes(code),
})

const layout = getRowColsAlgorithm({
  width: 1200,
  span: { xs: 24, sm: 12, md: 8, lg: 6, xl: 4 },
})

const status = findValueByKey(record, 'profile.status')

Versioning & compatibility

  • Follows SemVer. Breaking changes bump the major version.
  • Renderer packages declare a caret range on @es-plus/core (e.g. ^1.0.0). Upgrading a renderer pulls compatible core upgrades automatically.
  • Pre-release renderers may pin tighter ranges; check each renderer's peerDependencies / dependencies.

Repository

Monorepo: github.com/liujiaao/es-plus

packages/
├── core/        ← this package
├── es-plus/     ← @es-plus/vue3 (formerly es-plus-ui)
├── vue2/        ← @es-plus/vue2
├── mcp-server/  ← @es-plus/mcp-server
└── cli/         ← @es-plus/cli

License

MIT © liujiaao