advanced-dynamic-filter
TypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

Advanced Dynamic Filter TypeScript Client

This is a client library to build dynamic filter at client side and send it to server side to be executed and get results back.

npm package version number Actions Status License

It uses npm, TypeScript compiler, Jest, webpack, husky, pinst, commitlint. The production files include CommonJS, ES Modules, UMD version and TypeScript declaration files.

Development

This will create a symbolic link from globally-installed example-typescript-package to node_modules/ of the current folder.

You can then create a, for example, testdomain.ts file with the content:

import { Domain } from 'dynamic-filter'
const domain: Domain = ['&', ['firstName', '=', 'ahmed'], ['Age', '>', 30]];
const json: string = toJson(domain);
console.log(json);

If you don't see any linting errors in VS Code, if you put your mouse cursor over Domain and see its type, then it's all good.

npm uninstall example-typescript-package -g

Package Sidebar

Install

npm i advanced-dynamic-filter

Weekly Downloads

2

Version

0.7.0

License

MIT

Unpacked Size

15.3 kB

Total Files

10

Last publish

Collaborators

  • ahenka