Files: 8f4b43a09aab9801bf28987edd59c2e366180327 / 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