UNPKG

canonical

Version:

Canonical code style linter and formatter for JavaScript, SCSS and CSS.

90 lines (89 loc) 3.48 kB
{ "_args": [ [ "typedarray@https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", "/Users/gajus/Documents/dev/canonical-code-style/canonical" ] ], "_from": "typedarray@>=0.0.5 <0.1.0", "_id": "typedarray@0.0.6", "_inCache": true, "_location": "/typedarray", "_phantomChildren": {}, "_requested": { "name": "typedarray", "raw": "typedarray@https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", "rawSpec": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", "scope": null, "spec": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", "type": "remote" }, "_requiredBy": [ "/concat-stream" ], "_resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", "_shasum": "867ac74e3864187b1d3d47d996a78ec5c8830777", "_shrinkwrap": null, "_spec": "typedarray@https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", "_where": "/Users/gajus/Documents/dev/canonical-code-style/canonical", "author": { "email": "mail@substack.net", "name": "James Halliday", "url": "http://substack.net" }, "bugs": { "url": "https://github.com/substack/typedarray/issues" }, "dependencies": {}, "description": "TypedArray polyfill for old browsers", "devDependencies": { "tape": "~2.3.2" }, "homepage": "https://github.com/substack/typedarray", "keywords": [ "ArrayBuffer", "DataView", "Float32Array", "Float64Array", "Int16Array", "Int32Array", "Int8Array", "Uint16Array", "Uint32Array", "Uint8Array", "Uint8ClampedArray", "array", "polyfill", "typed" ], "license": "MIT", "main": "index.js", "name": "typedarray", "optionalDependencies": {}, "readme": "# typedarray\n\nTypedArray polyfill ripped from [this\nmodule](https://raw.github.com/inexorabletash/polyfill).\n\n[![build status](https://secure.travis-ci.org/substack/typedarray.png)](http://travis-ci.org/substack/typedarray)\n\n[![testling badge](https://ci.testling.com/substack/typedarray.png)](https://ci.testling.com/substack/typedarray)\n\n# example\n\n``` js\nvar Uint8Array = require('typedarray').Uint8Array;\nvar ua = new Uint8Array(5);\nua[1] = 256 + 55;\nconsole.log(ua[1]);\n```\n\noutput:\n\n```\n55\n```\n\n# methods\n\n``` js\nvar TA = require('typedarray')\n```\n\nThe `TA` object has the following constructors:\n\n* TA.ArrayBuffer\n* TA.DataView\n* TA.Float32Array\n* TA.Float64Array\n* TA.Int8Array\n* TA.Int16Array\n* TA.Int32Array\n* TA.Uint8Array\n* TA.Uint8ClampedArray\n* TA.Uint16Array\n* TA.Uint32Array\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install typedarray\n```\n\nTo use this module in the browser, compile with\n[browserify](http://browserify.org)\nor download a UMD build from browserify CDN:\n\nhttp://wzrd.in/standalone/typedarray@latest\n\n# license\n\nMIT\n", "readmeFilename": "readme.markdown", "repository": { "type": "git", "url": "git://github.com/substack/typedarray.git" }, "scripts": { "test": "tape test/*.js test/server/*.js" }, "testling": { "browsers": [ "android-browser/4.2..latest", "chrome/22..latest", "chrome/canary", "firefox/16..latest", "firefox/nightly", "ie/6..latest", "ipad/6.0..latest", "iphone/6.0..latest", "opera/12..latest", "opera/next", "safari/5.1..latest" ], "files": "test/*.js" }, "version": "0.0.6" }