@feizheng/next-filter

1.0.2 • Public • Published

next-filter

Filter for next.

installation

npm install -S @feizheng/next-filter

usage

import nx from '@feizheng/next-js-core2';
import '@feizheng/next-filter';

// single filter
const res1 = nx.filter('aaa', [addMore(111, 999)]);                 

//res1: '111aaa999'

// multiple filter
const res2 = nx.filter('aaa', [ 
  addMore(111, 999), 
  addZero() 
]);    

//res2: 0111aaa9990

/@feizheng/next-filter/

    Package Sidebar

    Install

    npm i @feizheng/next-filter

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    6.88 kB

    Total Files

    16

    Last publish

    Collaborators

    • afeiship