@easyquery/core

中文文档
7.5.1发布于 2026/09/29LGPL-3.0TypeScriptES Module零依赖近 30 天下载 3409

EasyQuery.JS Community core modules

原始使用文档
文档目录4 节
  1. Usage
  2. Live examples
  3. Documentation
  4. License

@easyquery/core (part of EasyQuery.JS)

EasyQuery library provides you with the means to add an ad-hoc reporting or advanced search functionality to your web application.

It gives you a simple to use but a quite powerful user interface to build queries or filters to your data. Your end-users will get the power of SQL with the simplicity of a natural language.

Take a look at EasyQuery web-page for more information.

This core package defines the basic functions and structures of EasyQuery library such as DataModel, Query, Condition, Column and other classes and interfaces.

Usage

A general overview of EasyQuery.JS, getting started instructions and tutorials can be found on EasyQuery.JS documentation web-site.

If you plan to use it with ASP.NET (Core) backend - we suggest you proceed with a "bundle": EasyQuery for ASP.NET (Core) which includes both EasyQuery.JS library and the server-side packages for .NET (Core).

For other platforms, you will also need a special EasyQuery Server which can be installed on any Linux, Windows or Mac server. For more information please read How EasyQuery works section on EasyQuery.JS web page.

Live examples

You can test EasyQuery in several different scenarios on our live demos page.

The source code for these sample web-applications is available on GitHub.

Documentation

License

The package is distributed under LGPL-3.0 license.

The server-side part (which is required to build a working solution) is licensed separately. For more information please see EasyQuery.NET Licensing page.

版本与发布记录

@easyquery/core 共发布 214 个版本,首次发布于 2019/03/30;过去 12 个月发布了 11 个版本。

版本发布日期距今
7.5.1latest2026/09/291 个月前
7.5.02026/09/231 个月前
7.5.0-rc03beta2026/08/073 个月前
7.5.0-rc022026/08/033 个月前
7.5.0-rc012026/08/033 个月前
7.4.22026/04/107 个月前

关于 @easyquery/core 的常见问题

@easyquery/core 是什么?

EasyQuery.JS Community core modules

如何安装 @easyquery/core?

在项目目录运行 npm install @easyquery/core,或使用 pnpm add / yarn add / bun add。

@easyquery/core 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@easyquery/core 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@easyquery/core 可以商用吗?

@easyquery/core 使用 LGPL-3.0 许可。弱 Copyleft:作为库被调用时通常不要求开源你自己的代码,但修改库本身需以 LGPL 开源;前端打包合并后的适用边界存在不同理解。以上为概括,不构成法律意见,请以许可原文为准。

@easyquery/core 的下载量有多少?

根据 npm 官方下载统计,@easyquery/core 在 2026/10/13 – 2026/11/11 这 30 天内被下载 3,409 次,日均约 114 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@easyquery/core 还在维护吗?

最新版本 7.5.1 发布于 2026/09/29(1 个月前);至今共发布 214 个版本,其中过去 12 个月发布了 11 个;首次发布于 2019/03/30。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。