{
  "name": "prettysize",
  "description": "Convert bytes to other sizes for prettier logging",
  "version": "0.0.3",
  "main": "./index.js",
  "devDependencies": {
    "vows": "*",
    "yui-lint": "~0.1.1",
    "jshint": "~0.9.0",
    "istanbul": "~0.1.8"
  },
  "keywords": [
    "size",
    "bytes",
    "MB",
    "megs"
  ],
  "scripts": {
    "pretest": "jshint --config ./node_modules/yui-lint/jshint.json ./index.js",
    "test": "istanbul cover --print both vows -- --spec ./tests/*.js"
  },
  "bugs": {
    "url": "http://github.com/davglass/prettysize/issues"
  },
  "licenses": [
    {
      "type": "BSD",
      "url": "https://github.com/davglass/prettysize/blob/master/LICENSE"
    }
  ],
  "repository": {
    "type": "git",
    "url": "http://github.com/davglass/prettysize.git"
  },
  "readme": "PrettySize\n==========\n\nHelper utility to provide pretty printed file sizes (best used for logging or CLI output)\n\nBuild Status\n------------\n\n[![Build Status](https://secure.travis-ci.org/davglass/prettysize.png?branch=master)](http://travis-ci.org/davglass/prettysize)\n\n\nUsage\n-----\n\n```\nnpm install prettysize\n```\n\n```javascript\n\nvar pretty = require('prettysize');\n\nvar str = pretty(1024);\n//str = \"1 kB\"\n\nvar str = pretty(1024 * 1024);\n//str = \"1 MB\"\n\nvar str = pretty(123456789);\n//str = \"117.7 MB\"\n```\n\nIt supports the following sizes:\n\n* bytes\n* kB\n* MB\n* GB\n* TB\n* PB\n* EB\n\nArguments\n---------\n\n```javascript\npretty(123456, true, true);\n\n/*\n\nFirst arg is size\nSecond argument is to remove the space from the output\nThird argument is to use a single character for the size.\n\n*/\n\n\nvar str = pretty(1024 * 1024, true);\n//str = \"1MB\"\n\nvar str = pretty(123456789, true, true);\n//str = \"117.7M\"\n\nvar str = pretty(123456789, false, true);\n//str = \"117.7 M\"\n\n```\n",
  "readmeFilename": "README.md",
  "homepage": "https://github.com/davglass/prettysize",
  "_id": "prettysize@0.0.3",
  "dist": {
    "shasum": "14afff6a645e591a4ddf1c72919c23b4146181a1"
  },
  "_from": "prettysize@~0.0.2",
  "_resolved": "https://registry.npmjs.org/prettysize/-/prettysize-0.0.3.tgz"
}
