npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

@extra-number/compare

1.1.1 • Public • Published

Compare two numbers.

const compare = require('@extra-number/compare');
// compare(<number-1>, <number-2>)
 
compare(10, 12);
// -1
compare(12, 12);
// 0
compare(17, 12);
// 1

extra-number

install

npm i @extra-number/compare

Downloadsweekly downloads

2

version

1.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability