36 lines
2.2 KiB
JSON
36 lines
2.2 KiB
JSON
|
{
|
||
|
"name": "binpack",
|
||
|
"version": "0.1.0",
|
||
|
"main": "index",
|
||
|
"author": {
|
||
|
"name": "Russell McClellan",
|
||
|
"email": "russell.mcclellan@gmail.com",
|
||
|
"url": "http://www.russellmcc.com"
|
||
|
},
|
||
|
"description": "Minimalist numeric binary packing utilities for node.js",
|
||
|
"keywords": [
|
||
|
"binary",
|
||
|
"pack",
|
||
|
"unpack"
|
||
|
],
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "http://github.com/russellmcc/node-binpack.git"
|
||
|
},
|
||
|
"dependencies": {},
|
||
|
"devDependencies": {
|
||
|
"vows": "*",
|
||
|
"coffee-script": "<1.7.0"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "vows tests/*"
|
||
|
},
|
||
|
"readme": "[![build status](https://secure.travis-ci.org/russellmcc/node-binpack.png)](http://travis-ci.org/russellmcc/node-binpack)\n# binpack\n\n_Deprecated binary packing utilities for node.js_\n\n## What's all this?\n\nnode now actually contains native code for packing binary buffers so this module is no longer needed. do not use in new code.\n\nsee the included COPYING file for licensing.\n\nthe core of the module is the set of `pack`/`unpack` pair functions. The meaning should be clear from the name - for example, `packInt32` packs a given javascript number into a 32-bit int inside a 4-byte node.js Buffer, while `unpackFloat32` unpacks a 4-byte node.js Buffer containing a native floating point number into a javascript number.\n\nThe following types are available for both pack and unpack:\n\n Float32 \n Float64 \n Int8\n Int16 \n Int32\n UInt8 \n UInt16\n UInt32\n \nEach `pack*` function takes a javascript number and outputs a node.js Buffer.\n\nEach `unpack*` function takes a node.js Buffer and outputs a javascript number.\n\nBoth types of functions take an optional second argument. If this argument is `\"big\"`, the output is put in big endian format. If the argument is `\"little\"`, the output is put in little endian format. If the argument is anything else or non-existent, we default to \"little\" endian [THIS IS NEW BEHAVIOR IN 0.0.15 - previous version would default to the native encoding.].\n",
|
||
|
"readmeFilename": "readme.md",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/russellmcc/node-binpack/issues"
|
||
|
},
|
||
|
"_id": "binpack@0.1.0",
|
||
|
"_from": "binpack@"
|
||
|
}
|