issues Search Results · repo:visionmedia/bytes.js language:JavaScript
Filter by
26 results
(69 ms)26 results
invisionmedia/bytes.js (press backspace or delete to remove)Hello! 🌻
Since this module works perfectly fine in browsers as well, would it be useful to provide a ES Module and/or UMD version
of the package as well? If yes, we could discuss as to how to achieve ...
arihantverma
- 1
- Opened on May 22, 2023
- #64
bytes.parse( string without any numbers ) returns NaN, when according to the documentation it should return a null.
bug
Shados
- 1
- Opened on Jan 25, 2022
- #61
Thanks for the awesome module.
Right now bytes convert sizes with powers of 1024.
How can I convert sizes with powers of 1000?
Is there any option I have missed?
Thanks!
duplicate
vasyl-shumskyi
- 1
- Opened on Jul 7, 2020
- #58
Feature Request
Add Arthimetic,comparsion,other method which can be flexible. Provide method like
add,subtract,multiply,divide,compare,convertTo ,etc,each method certain value Eg1:- bytes( 10 gb ).add( ...
ideas
Manikanta-20
- 1
- Opened on Jun 4, 2020
- #57
Feature Request
have one use case like User having 60GB
- 60 GB,0MB,0KB After he consumed 1mb
- 59.xxxxxxGB,1MB,0KB
ideas
Manikanta-20
- 1
- Opened on Jun 4, 2020
- #56
Feature Request
Get multiple converter values like GB,MB,KB ,Based on value Example:
var bytes = require( bytes ) bytes(1073741824 ) Return value:- 1GB
Expected value : 1GB, 1024MB,1048576 KB.
duplicate
Manikanta-20
- 6
- Opened on Jun 1, 2020
- #55
i have facing issue with mb and kb. i have written a if else /Switch, based on it converting the values. But it was
working as reverse way if condition is (mb) bytes convertor returning the kb values or ...
Manikanta-20
- 1
- Opened on Apr 16, 2020
- #52
This is my sample code
var bytes = require( bytes );
var options = {thousandsSeparator: , , decimalPlaces: 4, unit: GB , fixedDecimals:false, unitSeparator: }
bytes(10241456, options);
Here s the ...
bug
rognales
- 4
- Opened on Nov 14, 2019
- #51
instead of in the Readme:
- b for bytes
- kb for kilobytes
- mb for megabytes
- gb for gigabytes
- tb for terabytes
shouldn t it be the following since this converts the binary?
- b for ...
duplicate
captDaylight
- 1
- Opened on Oct 8, 2018
- #49
Some command line in Linux like lsblk will return the units with M or G instead of MB or GB. While I can simply append a
B to the string and call it a day, it d be nice if this library did that by default. ...
franciscop
- 3
- Opened on Apr 21, 2018
- #47

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.