UNPKG

yunlongzha_try_nodejs

Version:

try it

1 lines 9.91 kB
{"_id":"buffer-crc32","_rev":"15-5f90365ed8d8bef0ff57f29b7a9fc0b1","name":"buffer-crc32","description":"A pure javascript CRC32 algorithm that plays nice with binary data","dist-tags":{"latest":"0.2.5"},"versions":{"0.1.0":{"author":{"name":"Brian J. Brennan","email":"brianloveswords@gmail.com","url":"http://bjb.io"},"name":"buffer-crc32","description":"A CRC32 algorithm that works with buffers and is cool with unicode.","version":"0.1.0","homepage":"https://github.com/brianloveswords/buffer-crc32","repository":{"type":"git","url":"git://github.com/brianloveswords/buffer-crc32.git"},"main":"index.js","scripts":{"test":"tap tests/*.test.js"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"brianloveswords","email":"brian@nyhacker.org"},"_id":"buffer-crc32@0.1.0","_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.8.1","_defaultsLoaded":true,"dist":{"shasum":"aaf375a949dea411fa2b39b41e808f9543224e3f","tarball":"http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.1.0.tgz"},"maintainers":[{"name":"brianloveswords","email":"brian@nyhacker.org"}],"directories":{}},"0.1.1":{"author":{"name":"Brian J. Brennan","email":"brianloveswords@gmail.com","url":"http://bjb.io"},"name":"buffer-crc32","description":"A pure javascript CRC32 algorithm that plays nice with binary data","version":"0.1.1","homepage":"https://github.com/brianloveswords/buffer-crc32","repository":{"type":"git","url":"git://github.com/brianloveswords/buffer-crc32.git"},"main":"index.js","scripts":{"test":"./node_modules/.bin/tap tests/*.test.js"},"dependencies":{},"devDependencies":{"tap":"~0.2.5"},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"brianloveswords","email":"brian@nyhacker.org"},"_id":"buffer-crc32@0.1.1","_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.8.1","_defaultsLoaded":true,"dist":{"shasum":"7e110dc9953908ab7c32acdc70c9f945b1cbc526","tarball":"http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.1.1.tgz"},"maintainers":[{"name":"brianloveswords","email":"brian@nyhacker.org"}],"directories":{}},"0.2.0":{"author":{"name":"Brian J. Brennan","email":"brianloveswords@gmail.com","url":"http://bjb.io"},"name":"buffer-crc32","description":"A pure javascript CRC32 algorithm that plays nice with binary data","version":"0.2.0","contributors":"mistakster","homepage":"https://github.com/brianloveswords/buffer-crc32","repository":{"type":"git","url":"git://github.com/brianloveswords/buffer-crc32.git"},"main":"index.js","scripts":{"test":"./node_modules/.bin/tap tests/*.test.js"},"dependencies":{},"devDependencies":{"tap":"~0.2.5"},"optionalDependencies":{},"engines":{"node":"*"},"_id":"buffer-crc32@0.2.0","dist":{"shasum":"bdd04c663eb5cad999bd272dfcf2ea51a2ab0a3e","tarball":"http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.0.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"brianloveswords","email":"brian@nyhacker.org"},"maintainers":[{"name":"brianloveswords","email":"brian@nyhacker.org"}],"directories":{}},"0.2.1":{"author":{"name":"Brian J. Brennan","email":"brianloveswords@gmail.com","url":"http://bjb.io"},"name":"buffer-crc32","description":"A pure javascript CRC32 algorithm that plays nice with binary data","version":"0.2.1","contributors":[{"name":"Vladimir Kuznetsov"}],"homepage":"https://github.com/brianloveswords/buffer-crc32","repository":{"type":"git","url":"git://github.com/brianloveswords/buffer-crc32.git"},"main":"index.js","scripts":{"test":"./node_modules/.bin/tap tests/*.test.js"},"dependencies":{},"devDependencies":{"tap":"~0.2.5"},"optionalDependencies":{},"engines":{"node":"*"},"_id":"buffer-crc32@0.2.1","dist":{"shasum":"be3e5382fc02b6d6324956ac1af98aa98b08534c","tarball":"http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"brianloveswords","email":"brian@nyhacker.org"},"maintainers":[{"name":"brianloveswords","email":"brian@nyhacker.org"}],"directories":{}},"0.2.3":{"author":{"name":"Brian J. Brennan","email":"brianloveswords@gmail.com","url":"http://bjb.io"},"name":"buffer-crc32","description":"A pure javascript CRC32 algorithm that plays nice with binary data","version":"0.2.3","contributors":[{"name":"Vladimir Kuznetsov"}],"homepage":"https://github.com/brianloveswords/buffer-crc32","repository":{"type":"git","url":"git://github.com/brianloveswords/buffer-crc32.git"},"main":"index.js","scripts":{"test":"tap tests/*.test.js"},"dependencies":{},"devDependencies":{"tap":"~0.2.5"},"optionalDependencies":{},"engines":{"node":"*"},"gitHead":"f06dc30bccbad685af30666268c6fd2670805998","bugs":{"url":"https://github.com/brianloveswords/buffer-crc32/issues"},"_id":"buffer-crc32@0.2.3","_shasum":"bb54519e95d107cbd2400e76d0cab1467336d921","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"brianloveswords","email":"brianloveswords@gmail.com"},"maintainers":[{"name":"brianloveswords","email":"brian@nyhacker.org"}],"dist":{"shasum":"bb54519e95d107cbd2400e76d0cab1467336d921","tarball":"http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.3.tgz"},"directories":{}},"0.2.4":{"author":{"name":"Brian J. Brennan","email":"brianloveswords@gmail.com","url":"http://bjb.io"},"name":"buffer-crc32","description":"A pure javascript CRC32 algorithm that plays nice with binary data","version":"0.2.4","contributors":[{"name":"Vladimir Kuznetsov"}],"homepage":"https://github.com/brianloveswords/buffer-crc32","repository":{"type":"git","url":"git://github.com/brianloveswords/buffer-crc32.git"},"main":"index.js","scripts":{"test":"tap tests/*.test.js"},"dependencies":{},"devDependencies":{"tap":"~0.2.5"},"optionalDependencies":{},"engines":{"node":"*"},"license":"MIT","gitHead":"1906667eedde5fdb5c9c98f91b743518c2d7469c","bugs":{"url":"https://github.com/brianloveswords/buffer-crc32/issues"},"_id":"buffer-crc32@0.2.4","_shasum":"f729c4c5d2eb39ba49f29422175cc20b0bf1b96f","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"brianloveswords","email":"brianloveswords@gmail.com"},"maintainers":[{"name":"brianloveswords","email":"brian@nyhacker.org"}],"dist":{"shasum":"f729c4c5d2eb39ba49f29422175cc20b0bf1b96f","tarball":"http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.4.tgz"},"directories":{}},"0.2.5":{"author":{"name":"Brian J. Brennan","email":"brianloveswords@gmail.com","url":"http://bjb.io"},"name":"buffer-crc32","description":"A pure javascript CRC32 algorithm that plays nice with binary data","version":"0.2.5","licenses":[{"type":"MIT","url":"https://github.com/brianloveswords/buffer-crc32/raw/master/LICENSE"}],"contributors":[{"name":"Vladimir Kuznetsov"}],"homepage":"https://github.com/brianloveswords/buffer-crc32","repository":{"type":"git","url":"git://github.com/brianloveswords/buffer-crc32.git"},"main":"index.js","scripts":{"test":"tap tests/*.test.js"},"dependencies":{},"devDependencies":{"tap":"~0.2.5"},"optionalDependencies":{},"engines":{"node":"*"},"license":"MIT","gitHead":"beb976670f2ea6414e4cce4764d0213e5f9d7cbc","bugs":{"url":"https://github.com/brianloveswords/buffer-crc32/issues"},"_id":"buffer-crc32@0.2.5","_shasum":"db003ac2671e62ebd6ece78ea2c2e1b405736e91","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.33","_npmUser":{"name":"brianloveswords","email":"brianloveswords@gmail.com"},"maintainers":[{"name":"brianloveswords","email":"brian@nyhacker.org"}],"dist":{"shasum":"db003ac2671e62ebd6ece78ea2c2e1b405736e91","tarball":"http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.5.tgz"},"directories":{}}},"readme":"# buffer-crc32\n\n[![Build Status](https://secure.travis-ci.org/brianloveswords/buffer-crc32.png?branch=master)](http://travis-ci.org/brianloveswords/buffer-crc32)\n\ncrc32 that works with binary data and fancy character sets, outputs\nbuffer, signed or unsigned data and has tests.\n\nDerived from the sample CRC implementation in the PNG specification: http://www.w3.org/TR/PNG/#D-CRCAppendix\n\n# install\n```\nnpm install buffer-crc32\n```\n\n# example\n```js\nvar crc32 = require('buffer-crc32');\n// works with buffers\nvar buf = Buffer([0x00, 0x73, 0x75, 0x70, 0x20, 0x62, 0x72, 0x6f, 0x00])\ncrc32(buf) // -> <Buffer 94 5a ab 4a>\n\n// has convenience methods for getting signed or unsigned ints\ncrc32.signed(buf) // -> -1805997238\ncrc32.unsigned(buf) // -> 2488970058\n\n// will cast to buffer if given a string, so you can\n// directly use foreign characters safely\ncrc32('自動販売機') // -> <Buffer cb 03 1a c5>\n\n// and works in append mode too\nvar partialCrc = crc32('hey');\nvar partialCrc = crc32(' ', partialCrc);\nvar partialCrc = crc32('sup', partialCrc);\nvar partialCrc = crc32(' ', partialCrc);\nvar finalCrc = crc32('bros', partialCrc); // -> <Buffer 47 fa 55 70>\n```\n\n# tests\nThis was tested against the output of zlib's crc32 method. You can run\nthe tests with`npm test` (requires tap)\n\n# see also\nhttps://github.com/alexgorbatchev/node-crc, `crc.buffer.crc32` also\nsupports buffer inputs and return unsigned ints (thanks @tjholowaychuk).\n\n# license\nMIT/X11\n","maintainers":[{"name":"brianloveswords","email":"brian@nyhacker.org"}],"time":{"modified":"2014-12-07T19:19:44.403Z","created":"2012-07-11T17:53:46.260Z","0.1.0":"2012-07-11T17:53:46.688Z","0.1.1":"2012-07-11T18:52:29.048Z","0.2.0":"2013-01-09T16:54:40.660Z","0.2.1":"2013-01-09T17:04:09.173Z","0.2.3":"2014-06-17T14:37:36.527Z","0.2.4":"2014-11-26T15:20:39.348Z","0.2.5":"2014-12-07T19:19:44.403Z"},"author":{"name":"Brian J. Brennan","email":"brianloveswords@gmail.com","url":"http://bjb.io"},"repository":{"type":"git","url":"git://github.com/brianloveswords/buffer-crc32.git"},"homepage":"https://github.com/brianloveswords/buffer-crc32","contributors":[{"name":"Vladimir Kuznetsov"}],"bugs":{"url":"https://github.com/brianloveswords/buffer-crc32/issues"},"readmeFilename":"README.md","license":"MIT","_attachments":{},"_etag":"\"CR10R1H9CLVA9L87RE1JJV0SA\""}