Files: 938b7ea4cfaa3cef6e1690b9ef3ea8bd7a0d2de1 / test / test-79-npm / bytes / bytes.js
125 bytesRaw
1 | ; |
2 | |
3 | var bytes = require('bytes'); |
4 | if (bytes(1024 * 1.7, { decimalPlaces: 0 }) === '2KB') { |
5 | console.log('ok'); |
6 | } |
7 |
Built with git-ssb-web
1 | ; |
2 | |
3 | var bytes = require('bytes'); |
4 | if (bytes(1024 * 1.7, { decimalPlaces: 0 }) === '2KB') { |
5 | console.log('ok'); |
6 | } |
7 |
Built with git-ssb-web