UNPKG

validate.io-buffer

Version:

Validates if a value is a Buffer object.

74 lines (73 loc) 1.91 kB
{ "name": "validate.io-buffer", "version": "1.0.2", "description": "Validates if a value is a Buffer object.", "author": { "name": "Athan Reines", "email": "kgryte@gmail.com" }, "contributors": [ { "name": "Athan Reines", "email": "kgryte@gmail.com" } ], "scripts": { "test": "if [ \"${TRAVIS}\" ]; then npm run test-ci; else npm run test-local; fi", "test-local": "tape \"./test/*.js\" | tap-spec", "test-ci": "npm run test-local && xvfb-run npm run test-browsers", "test-cov": "istanbul cover --dir ./reports/coverage --report lcov tape -- \"./test/*.js\"", "test-browsers": "browserify ./test/*.js | testling | tap-spec", "coverage": "istanbul cover --dir ./reports/codecov/coverage --report lcovonly tape -- \"./test/*.js\" && cat ./reports/codecov/coverage/lcov.info | codecov && rm -rf ./reports/codecov" }, "main": "./lib", "repository": { "type": "git", "url": "git://github.com/validate-io/buffer.git" }, "keywords": [ "validate.io", "validate", "validation", "validator", "valid", "buffer", "node", "is", "isbuffer" ], "bugs": { "url": "https://github.com/validate-io/buffer/issues" }, "dependencies": {}, "devDependencies": { "browserify": "12.x.x", "chai": "^3.4.1", "codecov.io": "^0.1.5", "istanbul": "^0.4.1", "jshint": "2.x.x", "jshint-stylish": "2.x.x", "tap-spec": "4.x.x", "tape": "4.x.x", "testling": "1.x.x" }, "testling": { "files": [ "test/*.js" ], "browsers": [ "iexplore/6.0..latest", "firefox/3.0..latest", "firefox/nightly", "chrome/4.0..latest", "chrome/canary", "opera/10.0..latest", "opera/next", "safari/4.0..latest", "ipad/6.0..latest", "iphone/6.0..latest", "android-browser/4.2..latest" ] }, "license": "MIT" }