{"name":"@typed/sequence","version":"1.0.0","description":"Run things in sequence","main":"lib/commonjs","typings":"lib/es2015/index.d.ts","jsnext:main":"lib/es2015/index.js","module":"lib/es2015/index.js","scripts":{"build":"npm run clean && npm run build:es2015 && npm run build:commonjs","build:commonjs":"tsc -P .config/tsconfig.commonjs.json","build:es2015":"tsc -P .config/tsconfig.es2015.json","changelog":"conventional-changelog --infile CHANGELOG.md --same-file --release-count 0 --preset angular","clean":"rimraf lib lib.es2015","commit":"git-cz","postchangelog":"git add CHANGELOG.md && git commit -m 'docs(CHANGELOG): append to changelog'","postversion":"npm run changelog && git push origin master --tags && npm publish --access=public","preversion":"npm run build","release:minor":"npm version minor -m 'chore(package): v%s'","release:major":"npm version major -m 'chore(package): v%s'","test":"npm run test:lint && npm run test:unit","test:lint":"tslint src/**/*.ts src/*.ts","test:unit":"mocha -r ts-node/register src/*.test.ts"},"repository":{"type":"git","url":"git+https://github.com/TylorS/typed-sequence.git"},"keywords":["typescript","promise","observable","stream"],"author":{"name":"Tylor Steinberger","email":"tlsteinberger167@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/TylorS/typed-sequence/issues"},"homepage":"https://github.com/TylorS/typed-sequence#readme","devDependencies":{"@motorcycle/tslint":"^1.2.0","@types/mocha":"^2.2.34","@types/node":"^6.0.52","commitizen":"^2.9.2","conventional-changelog-cli":"^1.2.0","cz-conventional-changelog":"^1.2.0","ghooks":"^2.0.0","karma":"^1.3.0","karma-chrome-launcher":"^2.0.0","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.3.0","karma-phantomjs-launcher":"^1.0.2","karma-sauce-launcher":"^1.1.0","karma-typescript":"^2.1.5","mocha":"^3.2.0","most":"^1.1.1","phantomjs-prebuilt":"^2.1.14","rimraf":"^2.5.4","ts-node":"^1.7.2","tslint":"^4.1.1","typescript":"^2.1.4","validate-commit-msg":"^2.8.2","wallabify":"0.0.14"},"config":{"ghooks":{"commit-msg":"node ./node_modules/.bin/validate-commit-msg"}},"gitHead":"bec805d566f68ae870ac29435f1dfe552fee2b43","_id":"@typed/sequence@1.0.0","_shasum":"bb78402932158af98408af504877b119572abb66","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"typed","email":"tlsteinberger167@gmail.com"},"dist":{"shasum":"bb78402932158af98408af504877b119572abb66","tarball":"http://registry-npm.ywwl.com/@typed/sequence/download/@typed/sequence-1.0.0.tgz","integrity":"sha512-NmRvn8u67nT1RGhd4HeQsRAV1FzjFJpd8OS8sLN12OD4ig9RBDRym8VSevLvnYL4kiL4jS0xca1trocxGCWWaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICMClfoXLBVIMmBSXO2c+SFr5VKTKIgDrUh6NtmzCLy3AiBa53LuXCq8Q2bNVCczBzzjTIZU8lkjC2Kx47o5DmsOYA=="}],"size":5099,"noattachment":false,"key":"/@typed/sequence/-/@typed/sequence-1.0.0.tgz"},"maintainers":[{"name":"typed","email":"tlsteinberger167@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sequence-1.0.0.tgz_1482464800457_0.042749118991196156"},"readme":"# @typed/sequence\n\n> Create sequential code easily\n\nHelps you create a sequence of execution.\n\n## Let me have it!\n```sh\nnpm install --save typed-sequence\n```\n\n## API\n\n#### `sequence<T>(items: T[], f: (t: T) => any): Promise<any>`\n\n**Example**\n\n```typescript\nimport { sequence } from 'typed-sequence';\n\nfunction f (n: number): Promise<any> {\n  // perform some type of asynchronous (or not) operation\n\n  return new Promise((resolve, reject) {\n    // exercise for the reader ;)\n  })\n}\n\nsequence([1, 2, 3], f);\n```","publish_time":1482464802485,"_cnpm_publish_time":1482464802485,"dist-tags":{"latest":"1.1.0"}}