文件名称:brando:Brando,是一个使用缓冲区处理生成伪随机序列排列的模块
文件大小:44KB
文件格式:ZIP
更新时间:2024-07-17 08:24:12
random permutations pseudo-random random-shuffle random-sequences
白兰度 Brando是一个使用缓冲区处理伪随机序列/整数排列的模块。 ###安装 $ npm install brando [-g] 要求: var Brando = require ( 'brando' ) ; ###运行测试 要运行所有测试文件,请安装 devDependencies: $ cd brando/ # install or update devDependecies $ npm install --dev # run tests $ npm test 要执行单个测试文件,只需执行以下操作: $ node test/file-name.js ###运行基准 为 Brando 运行各种基准测试 $ cd brando/ $ npm run bench ###方法 [ ] 内的参数是可选的。 ####Brando.sham 打印有关
【文件预览】:
brando-master
----.jshintrc(5KB)
----Readme.md(8KB)
----bench()
--------run.sh(167B)
--------parse-pp-emt-simple-bench.js(2KB)
--------parse-fp-emt-simple-bench.js(1KB)
--------parse-sq-emt-simple-bench.js(2KB)
----lib()
--------filters()
--------brando.js(4KB)
----.npmignore(28B)
----.travis.yml(383B)
----example()
--------emt-fullperm-example.js(3KB)
--------stream-partperm-example.js(508B)
--------sample(16KB)
--------emt-sequence-example.js(2KB)
--------stream-sequence-example.js(638B)
--------stream-fullperm-example.js(1KB)
----LICENSE(1KB)
----test()
--------brando-empty-test.js(394B)
--------run.js(79B)
----.gitignore(28B)
----index.js(50B)
----package.json(1KB)