Merge "LOG SQL dump files getting installed"
[sdnc/oam.git] / dgbuilder / dgeflows / node_modules / body-parser / node_modules / bytes / Readme.md
1 # node-bytes
2
3   Byte string parser / formatter.
4
5 ## Example:
6
7 ```js
8 bytes('1kb')
9 // => 1024
10
11 bytes('2mb')
12 // => 2097152
13
14 bytes('1gb')
15 // => 1073741824
16
17 bytes(1073741824)
18 // => 1gb
19
20 bytes(1099511627776)
21 // => 1tb
22 ```
23
24 ## Installation
25
26 ```
27 $ npm install bytes
28 $ component install visionmedia/bytes.js
29 ```
30
31 ## License 
32
33 (The MIT License)
34
35 Copyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca>
36
37 Permission is hereby granted, free of charge, to any person obtaining
38 a copy of this software and associated documentation files (the
39 'Software'), to deal in the Software without restriction, including
40 without limitation the rights to use, copy, modify, merge, publish,
41 distribute, sublicense, and/or sell copies of the Software, and to
42 permit persons to whom the Software is furnished to do so, subject to
43 the following conditions:
44
45 The above copyright notice and this permission notice shall be
46 included in all copies or substantial portions of the Software.
47
48 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
49 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
50 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
51 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
52 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
53 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
54 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.