language: node_js
node_js:
- - "0.10"
- - "0.11"
\ No newline at end of file
+ - '0.11'
+env:
+ global:
+ - secure: AUsK+8fYSpwIMHcVt8Mu9SpG9RPHp4XDAwCQfpU3d5U65q8OVVC6C+XjvnNmEd2PoEJRHem8ZXEyRVfGM1sttKZLZP70TEKZOpOiRQnZiTQCAJ92TfGsDj/F4LoWSjUZUpfeg9b3iSp8G5dVw3+q9QZPIu6eykASK6bfcg//Cyg=
+ - secure: eQBKJWu7XbhAN4ZvOOhMenC0IPpoYj+wZVVzzsLwUppfJqlrHV0CUW8rJdvZNiaGhYhoyHTnAcynpTE5kZfg3XjevOvF8PGY5wUYCki9BI+rp+pvVPZE/DNUAQpFR2gd2nxMJ4kYv7GVb6i/DfuqJa0h8IuY4zcMuKWwbQd3Az8=
#### The buffer module from [node.js](http://nodejs.org/), for the browser.
+[![Sauce Test Status](https://saucelabs.com/browser-matrix/buffer.svg)](https://saucelabs.com/u/buffer)
+
[![testling badge](https://ci.testling.com/feross/buffer.png)](https://ci.testling.com/feross/buffer)
With [browserify](http://browserify.org), simply `require('buffer')` or use the `Buffer` global and you will get this module.
},
"devDependencies": {
"benchmark": "^1.0.0",
- "browserify": "^5.11.1",
+ "browserify": "^6.2.0",
"is-nan": "^1.0.1",
- "tape": "^2.14.0"
+ "tape": "^3.0.1",
+ "zuul": "^1.12.0"
},
"homepage": "https://github.com/feross/buffer",
"keywords": [
"url": "git://github.com/feross/buffer.git"
},
"scripts": {
- "test": "tape test/*.js && OBJECT_IMPL=true tape test/*.js",
+ "test": "npm run test-node && npm run test-browser",
+ "test-browser": "zuul -- test/*.js",
+ "test-browser-local": "zuul --local -- test/*.js",
+ "test-node": "tape test/*.js && OBJECT_IMPL=true tape test/*.js",
"perf": "browserify --debug perf/bracket-notation.js > perf/bundle.js && open perf/index.html",
"perf-node": "node perf/bracket-notation.js && node perf/concat.js && node perf/copy-big.js && node perf/copy.js && node perf/new-big.js && node perf/new.js && node perf/readDoubleBE.js && node perf/readFloatBE.js && node perf/readUInt32LE.js && node perf/slice.js && node perf/writeFloatBE.js",
"size": "browserify -r ./ | uglifyjs -c -m | gzip | wc -c"