@jswork/next-compare

1.0.3 • Public • Published

next-compare

Basic compare for next.

version license size download

installation

npm install -S @jswork/next-compare

usage

import '@jswork/next-compare';

nx.compare(2, 1);   // 1
nx.compare(1, 1);   // 0
nx.compare(1, 2);   // -1

license

Code released under the MIT license.

Dependents (1)

Package Sidebar

Install

npm i @jswork/next-compare

Homepage

js.work

Weekly Downloads

65

Version

1.0.3

License

MIT

Unpacked Size

4.68 kB

Total Files

6

Last publish

Collaborators

  • afeiship
  • yujiao.luo