{"_id":"compose-function","_rev":"323068","name":"compose-function","description":"Compose new functions f(g(x))","dist-tags":{"latest":"3.0.3"},"maintainers":[{"name":"schtoeffel","email":""}],"time":{"modified":"2021-06-04T01:35:25.000Z","created":"2015-01-04T13:00:04.059Z","3.0.3":"2015-10-04T19:14:16.530Z","3.0.2":"2015-09-24T21:09:08.366Z","3.0.1":"2015-09-24T21:03:12.588Z","3.0.0":"2015-09-24T20:57:47.486Z","2.0.0":"2015-04-07T15:23:44.663Z","1.5.0":"2015-02-10T11:08:04.563Z","1.4.1":"2015-01-20T14:57:43.817Z","1.4.0":"2015-01-20T14:47:53.982Z","1.3.0":"2015-01-07T20:35:44.141Z","1.1.1":"2015-01-06T16:11:37.856Z","1.0.1":"2015-01-04T13:33:21.928Z","1.0.0":"2015-01-04T13:00:04.059Z"},"users":{"schtoeffel":true,"hugojosefson":true,"vidhill":true},"author":{"name":"stoeffel"},"repository":{"type":"git","url":"git+ssh://git@github.com/stoeffel/compose-function.git"},"versions":{"3.0.3":{"name":"compose-function","version":"3.0.3","description":"Compose new functions f(g(x))","main":"index.js","scripts":{"clean":"git reset && echo '/node_modules/' > .gitignore && git add .gitignore && git stash save --include-untracked --keep-index '`npm run clean` trash can' && git clean --force -d && git reset --hard && echo '\nclean: Uncommitted and ignored files have been moved to gitâs stash. To restore them run `git stash pop --quiet; git checkout .gitignore`.'","coverage":"rm -rf coverage && npm run test:transpile && cd .es5 && istanbul cover test.js && mv coverage ..","coveralls":"npm run coverage && cat ./coverage/lcov.info | coveralls","develop":"nodangel --ignore node_modules --ignore coverage --exec 'npm run --silent test:lite'","prepublish":"npm run --silent clean && npm run transpile","patch-release":"npm version patch && npm publish && git push --follow-tags","minor-release":"npm version minor && npm publish && git push --follow-tags","major-release":"npm version major && npm publish && git push --follow-tags","test":"eslint --ignore-path .gitignore .; npm run test:transpile && node .es5/test.js | tap-spec","test:lite":"babel-node --optional es7.functionBind test.js | tap-spec","test:transpile":"rm -rf .es5 && babel --optional es7.functionBind test.js test/*.js --out-dir .es5 && babel module/*.js --out-dir .es5","transpile":"babel module --out-dir .","view-coverage":"echo 'Generating coverage reports…'; npm run coverage >/dev/null && echo '…done.' && opn ./coverage/lcov-report/index.html >/dev/null"},"repository":{"type":"git","url":"git+ssh://git@github.com/stoeffel/compose-function.git"},"files":["/*.js","/module/","/README.md","/LICENSE.md"],"keywords":["function","compose","functional"],"author":{"name":"stoeffel"},"license":"MIT","bugs":{"url":"http://github.com/stoeffel/compose-function/issues"},"homepage":"http://github.com/stoeffel/compose-function","devDependencies":{"babel":"^5.8.21","babel-eslint":"^4.0.10","coveralls":"^2.11.4","curry-this":"^3.0.2","es6-symbol":"^2.0.1","eslint":"^1.2.0","istanbul":"^0.3.18","nodangel":"1.3.8","opn-cli":"1.0.0","tap-spec":"^4.0.2","tape-catch":"1.0.4"},"dependencies":{"arity-n":"^1.0.4"},"gitHead":"6707fbcb2d09b08ec32a61f195e238b6cd27769e","_id":"compose-function@3.0.3","_shasum":"9ed675f13cc54501d30950a486ff6a7ba3ab185f","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"schtoeffel","email":"schtoeffel@gmail.com"},"dist":{"shasum":"9ed675f13cc54501d30950a486ff6a7ba3ab185f","size":3365,"noattachment":false,"key":"/compose-function/-/compose-function-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/compose-function/download/compose-function-3.0.3.tgz"},"maintainers":[{"name":"schtoeffel","email":""}],"directories":{},"publish_time":1443986056530,"_cnpm_publish_time":1443986056530,"_hasShrinkwrap":false},"3.0.2":{"name":"compose-function","version":"3.0.2","description":"Compose new functions f(g(x))","main":"index.js","scripts":{"clean":"git reset && echo '/node_modules/' > .gitignore && git add .gitignore && git stash save --include-untracked --keep-index '`npm run clean` trash can' && git clean --force -d && git reset --hard && echo '\nclean: Uncommitted and ignored files have been moved to gitâs stash. To restore them run `git stash pop --quiet; git checkout .gitignore`.'","coverage":"rm -rf coverage && npm run test:transpile && cd .es5 && istanbul cover test.js && mv coverage ..","coveralls":"npm run coverage && cat ./coverage/lcov.info | coveralls","develop":"nodangel --ignore node_modules --ignore coverage --exec 'npm run --silent test:lite'","prepublish":"npm run --silent clean && npm run transpile","patch-release":"npm version patch && npm publish && git push --follow-tags","minor-release":"npm version minor && npm publish && git push --follow-tags","major-release":"npm version major && npm publish && git push --follow-tags","test":"eslint --ignore-path .gitignore .; npm run test:transpile && node .es5/test.js | tap-spec","test:lite":"babel-node --optional es7.functionBind test.js | tap-spec","test:transpile":"rm -rf .es5 && babel --optional es7.functionBind test.js test/*.js --out-dir .es5 && babel module/*.js --out-dir .es5","transpile":"babel module --out-dir .","view-coverage":"echo 'Generating coverage reports…'; npm run coverage >/dev/null && echo '…done.' && opn ./coverage/lcov-report/index.html >/dev/null"},"repository":{"type":"git","url":"git+ssh://git@github.com/stoeffel/compose-function.git"},"files":["/*.js","/module/","/README.md","/LICENSE.md"],"keywords":["function","compose","functional"],"author":{"name":"stoeffel"},"license":"MIT","bugs":{"url":"http://github.com/stoeffel/compose-function/issues"},"homepage":"http://github.com/stoeffel/compose-function","devDependencies":{"babel":"^5.8.21","babel-eslint":"^4.0.10","coveralls":"^2.11.4","curry-this":"^3.0.2","es6-symbol":"^2.0.1","eslint":"^1.2.0","istanbul":"^0.3.18","nodangel":"1.3.8","opn-cli":"1.0.0","tap-spec":"^4.0.2","tape-catch":"1.0.4"},"dependencies":{"arity-n":"^1.0.4"},"gitHead":"9dcf7b361aa8fd8bab4e82cbb1f084f3273bec10","_id":"compose-function@3.0.2","_shasum":"375f94275112db6b7dcdaa4f7c529d71ecdff96a","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"schtoeffel","email":"schtoeffel@gmail.com"},"dist":{"shasum":"375f94275112db6b7dcdaa4f7c529d71ecdff96a","size":3376,"noattachment":false,"key":"/compose-function/-/compose-function-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/compose-function/download/compose-function-3.0.2.tgz"},"maintainers":[{"name":"schtoeffel","email":""}],"directories":{},"publish_time":1443128948366,"_cnpm_publish_time":1443128948366,"_hasShrinkwrap":false},"3.0.1":{"name":"compose-function","version":"3.0.1","description":"Compose new functions f(g(x))","main":"index.js","scripts":{"clean":"git reset && echo '/node_modules/' > .gitignore && git add .gitignore && git stash save --include-untracked --keep-index '`npm run clean` trash can' && git clean --force -d && git reset --hard && echo '\nclean: Uncommitted and ignored files have been moved to gitâs stash. To restore them run `git stash pop --quiet; git checkout .gitignore`.'","coverage":"rm -rf coverage && npm run test:transpile && cd .es5 && istanbul cover test.js && mv coverage ..","coveralls":"npm run coverage && cat ./coverage/lcov.info | coveralls","develop":"nodangel --ignore node_modules --ignore coverage --exec 'npm run --silent test:lite'","prepublish":"npm run --silent clean && npm run transpile","patch-release":"npm version patch && npm publish && git push --follow-tags","minor-release":"npm version minor && npm publish && git push --follow-tags","major-release":"npm version major && npm publish && git push --follow-tags","test":"eslint --ignore-path .gitignore .; npm run test:transpile && node .es5/test.js | tap-spec","test:lite":"babel-node --optional es7.functionBind test.js | tap-spec","test:transpile":"rm -rf .es5 && babel --optional es7.functionBind test.js test/*.js --out-dir .es5 && babel module/*.js --out-dir .es5","transpile":"babel module --out-dir .","view-coverage":"echo 'Generating coverage reports…'; npm run coverage >/dev/null && echo '…done.' && opn ./coverage/lcov-report/index.html >/dev/null"},"repository":{"type":"git","url":"git+ssh://git@github.com/stoeffel/compose-function.git"},"files":["/*.js","/module/","/README.md","/LICENSE.md"],"keywords":["function","compose","functional"],"author":{"name":"stoeffel"},"license":"MIT","bugs":{"url":"http://github.com/stoeffel/compose-function/issues"},"homepage":"http://github.com/stoeffel/compose-function","devDependencies":{"babel":"^5.8.21","babel-eslint":"^4.0.10","coveralls":"^2.11.4","curry-this":"^3.0.2","es6-symbol":"^2.0.1","eslint":"^1.2.0","istanbul":"^0.3.18","nodangel":"1.3.8","opn-cli":"1.0.0","tap-spec":"^4.0.2","tape-catch":"1.0.4"},"dependencies":{"arity-n":"^1.0.4"},"gitHead":"ec473219a1c4e876e7bbc59249d97b0134c343cf","_id":"compose-function@3.0.1","_shasum":"1b3a228e1f4b7e801690b4488eb5dbfd185f8a21","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"schtoeffel","email":"schtoeffel@gmail.com"},"dist":{"shasum":"1b3a228e1f4b7e801690b4488eb5dbfd185f8a21","size":3413,"noattachment":false,"key":"/compose-function/-/compose-function-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/compose-function/download/compose-function-3.0.1.tgz"},"maintainers":[{"name":"schtoeffel","email":""}],"directories":{},"publish_time":1443128592588,"_cnpm_publish_time":1443128592588,"_hasShrinkwrap":false},"3.0.0":{"name":"compose-function","version":"3.0.0","description":"Compose new functions f(g(x))","main":"index.js","scripts":{"clean":"git reset && echo '/node_modules/' > .gitignore && git add .gitignore && git stash save --include-untracked --keep-index '`npm run clean` trash can' && git clean --force -d && git reset --hard && echo '\nclean: Uncommitted and ignored files have been moved to gitâs stash. To restore them run `git stash pop --quiet; git checkout .gitignore`.'","coverage":"rm -rf coverage && npm run test:transpile && cd .es5 && istanbul cover test.js && mv coverage ..","coveralls":"npm run coverage && cat ./coverage/lcov.info | coveralls","develop":"nodangel --ignore node_modules --ignore coverage --exec 'npm run --silent test:lite'","prepublish":"npm run --silent clean && npm run transpile","patch-release":"npm version patch && npm publish && git push --follow-tags","minor-release":"npm version minor && npm publish && git push --follow-tags","major-release":"npm version major && npm publish && git push --follow-tags","test":"eslint --ignore-path .gitignore .; npm run test:transpile && node .es5/test.js | tap-spec","test:lite":"babel-node --optional es7.functionBind test.js | tap-spec","test:transpile":"rm -rf .es5 && babel --optional es7.functionBind test.js test/*.js --out-dir .es5 && babel module/*.js --out-dir .es5","transpile":"babel module --out-dir .","view-coverage":"echo 'Generating coverage reports…'; npm run coverage >/dev/null && echo '…done.' && opn ./coverage/lcov-report/index.html >/dev/null"},"repository":{"type":"git","url":"git+ssh://git@github.com/stoeffel/compose-function.git"},"files":["/*.js","/module/","/README.md","/LICENSE.md"],"keywords":["function","compose","functional"],"author":{"name":"stoeffel"},"license":"MIT","bugs":{"url":"http://github.com/stoeffel/compose-function/issues"},"homepage":"http://github.com/stoeffel/compose-function","devDependencies":{"babel":"^5.8.21","babel-eslint":"^4.0.10","coveralls":"^2.11.4","curry-this":"^3.0.2","es6-symbol":"^2.0.1","eslint":"^1.2.0","istanbul":"^0.3.18","nodangel":"1.3.8","opn-cli":"1.0.0","tap-spec":"^4.0.2","tape-catch":"1.0.4"},"dependencies":{"arity-n":"^1.0.4"},"gitHead":"f3e1f768f4600069307bab36554195b2ff23fcbb","_id":"compose-function@3.0.0","_shasum":"d21b6d6362c8cdcc9bdb2e0b1a666595fdab6113","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"schtoeffel","email":"schtoeffel@gmail.com"},"dist":{"shasum":"d21b6d6362c8cdcc9bdb2e0b1a666595fdab6113","size":3402,"noattachment":false,"key":"/compose-function/-/compose-function-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/compose-function/download/compose-function-3.0.0.tgz"},"maintainers":[{"name":"schtoeffel","email":""}],"directories":{},"publish_time":1443128267486,"_cnpm_publish_time":1443128267486,"_hasShrinkwrap":false},"2.0.0":{"name":"compose-function","version":"2.0.0","description":"Compose new functions f(g(x))","main":"index.js","scripts":{"test":"gulp test"},"repository":{"type":"git","url":"http://github.com/stoeffel/compose-function"},"keywords":["function","compose","functional"],"author":{"name":"stoeffel"},"license":"MIT","bugs":{"url":"http://github.com/stoeffel/compose-function/issues"},"homepage":"http://github.com/stoeffel/compose-function","devDependencies":{"chickencurry":"^1.0.2","expect.js":"^0.3.1","gulp":"^3.8.11","gulp-6to5":"^3.0.0","gulp-mocha":"^2.0.0","gulp-rename":"^1.2.0","gulp-run":"^1.6.6","gulp-sourcemaps":"^1.3.0","gulp-watch":"^4.1.1","mocha":"^2.1.0","mockery":"^1.4.0"},"dependencies":{"arity-n":"^1.0.4"},"gitHead":"a516a372ade36a65e089fbe7bb5ea62a23cc1f30","_id":"compose-function@2.0.0","_shasum":"e642fa7e1da21529720031476776fc24691ac0b0","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"schtoeffel","email":"schtoeffel@gmail.com"},"maintainers":[{"name":"schtoeffel","email":""}],"dist":{"shasum":"e642fa7e1da21529720031476776fc24691ac0b0","size":3395,"noattachment":false,"key":"/compose-function/-/compose-function-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/compose-function/download/compose-function-2.0.0.tgz"},"directories":{},"publish_time":1428420224663,"_cnpm_publish_time":1428420224663,"_hasShrinkwrap":false},"1.5.0":{"name":"compose-function","version":"1.5.0","description":"Compose new functions f(g(x))","main":"index.js","scripts":{"test":"sjs -m ./macro test.sjs -o test.js; gulp test; rm test.js"},"repository":{"type":"git","url":"http://github.com/stoeffel/compose-function"},"keywords":["function","compose","functional"],"author":{"name":"stoeffel"},"license":"MIT","bugs":{"url":"http://github.com/stoeffel/compose-function/issues"},"homepage":"http://github.com/stoeffel/compose-function","devDependencies":{"chickencurry":"^1.0.2","expect.js":"^0.3.1","gulp":"^3.8.11","gulp-6to5":"^3.0.0","gulp-mocha":"^2.0.0","gulp-rename":"^1.2.0","gulp-run":"^1.6.6","gulp-sourcemaps":"^1.3.0","gulp-watch":"^4.1.1","mocha":"^2.1.0","sweet.js":"^0.7.3"},"dependencies":{"arity-n":"^1.0.3"},"gitHead":"03b473ae5905084680eb8c85b147d6368be121a8","_id":"compose-function@1.5.0","_shasum":"e354299774739f628f51dcc4e4359bddd8a3a75c","_from":".","_npmVersion":"2.4.1","_nodeVersion":"1.1.0","_npmUser":{"name":"schtoeffel","email":"schtoeffel@gmail.com"},"maintainers":[{"name":"schtoeffel","email":""}],"dist":{"shasum":"e354299774739f628f51dcc4e4359bddd8a3a75c","size":3686,"noattachment":false,"key":"/compose-function/-/compose-function-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/compose-function/download/compose-function-1.5.0.tgz"},"directories":{},"publish_time":1423566484563,"_cnpm_publish_time":1423566484563,"_hasShrinkwrap":false},"1.4.1":{"name":"compose-function","version":"1.4.1","description":"Compose new functions f(g(x))","main":"index.js","scripts":{"test":"sjs -m ./macro test.sjs -o test.js; _mocha --reporter nyan; rm test.js"},"repository":{"type":"git","url":"http://github.com/stoeffel/compose-function"},"keywords":["function","compose","functional"],"author":{"name":"stoeffel"},"license":"MIT","bugs":{"url":"http://github.com/stoeffel/compose-function/issues"},"homepage":"http://github.com/stoeffel/compose-function","devDependencies":{"chickencurry":"^1.0.2","expect.js":"^0.3.1","mocha":"^2.1.0","sweet.js":"^0.7.3"},"dependencies":{"arity-n":"^1.0.3"},"gitHead":"7d25d997e3d2cc90d5bb4d734623cfe99d059866","_id":"compose-function@1.4.1","_shasum":"3710fbf20ee3e1ea7e45f9d1cd7e48e7b4d0d5cb","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.25","_npmUser":{"name":"schtoeffel","email":"schtoeffel@gmail.com"},"maintainers":[{"name":"schtoeffel","email":""}],"dist":{"shasum":"3710fbf20ee3e1ea7e45f9d1cd7e48e7b4d0d5cb","size":3202,"noattachment":false,"key":"/compose-function/-/compose-function-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/compose-function/download/compose-function-1.4.1.tgz"},"directories":{},"publish_time":1421765863817,"_cnpm_publish_time":1421765863817,"_hasShrinkwrap":false},"1.4.0":{"name":"compose-function","version":"1.4.0","description":"Compose new functions f(g(x))","main":"index.js","scripts":{"test":"sjs -m ./macro test.sjs -o test.js; _mocha --reporter nyan; rm test.js"},"repository":{"type":"git","url":"http://github.com/stoeffel/compose-function"},"keywords":["function","compose","functional"],"author":{"name":"stoeffel"},"license":"MIT","bugs":{"url":"http://github.com/stoeffel/compose-function/issues"},"homepage":"http://github.com/stoeffel/compose-function","devDependencies":{"chickencurry":"^1.0.2","expect.js":"^0.3.1","mocha":"^2.1.0","sweet.js":"^0.7.3"},"dependencies":{"arity-n":"^1.0.2"},"gitHead":"030777da088dbc37dd8eb25660404b03e5a58380","_id":"compose-function@1.4.0","_shasum":"c0b1b8646a5077f9eb2065de16aff15e84e0a360","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.25","_npmUser":{"name":"schtoeffel","email":"schtoeffel@gmail.com"},"maintainers":[{"name":"schtoeffel","email":""}],"dist":{"shasum":"c0b1b8646a5077f9eb2065de16aff15e84e0a360","size":3203,"noattachment":false,"key":"/compose-function/-/compose-function-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/compose-function/download/compose-function-1.4.0.tgz"},"directories":{},"publish_time":1421765273982,"_cnpm_publish_time":1421765273982,"_hasShrinkwrap":false},"1.3.0":{"name":"compose-function","version":"1.3.0","description":"Compose new functions f(g(x))","main":"index.js","scripts":{"test":"sjs -m ./macro test.sjs -o test.js; _mocha --reporter nyan; rm test.js"},"repository":{"type":"git","url":"http://github.com/stoeffel/compose-function"},"keywords":["function","compose","functional"],"author":{"name":"stoeffel"},"license":"MIT","bugs":{"url":"http://github.com/stoeffel/compose-function/issues"},"homepage":"http://github.com/stoeffel/compose-function","devDependencies":{"chickencurry":"^1.0.2","expect.js":"^0.3.1","mocha":"^2.1.0","sweet.js":"^0.7.3"},"dependencies":{},"gitHead":"fe6db529a31e5fb0c11610771e6d65f12de365b5","_id":"compose-function@1.3.0","_shasum":"7f55ae7fc0e5cc6b6f2e17fc091b0bd0fe144838","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.25","_npmUser":{"name":"schtoeffel","email":"schtoeffel@gmail.com"},"maintainers":[{"name":"schtoeffel","email":""}],"dist":{"shasum":"7f55ae7fc0e5cc6b6f2e17fc091b0bd0fe144838","size":3050,"noattachment":false,"key":"/compose-function/-/compose-function-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/compose-function/download/compose-function-1.3.0.tgz"},"directories":{},"publish_time":1420662944141,"_cnpm_publish_time":1420662944141,"_hasShrinkwrap":false},"1.1.1":{"name":"compose-function","version":"1.1.1","description":"Compose new functions f(g(x))","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/stoeffel/compose-function"},"keywords":["function","compose","functional"],"author":{"name":"stoeffel"},"license":"MIT","bugs":{"url":"http://github.com/stoeffel/compose-function/issues"},"homepage":"http://github.com/stoeffel/compose-function","devDependencies":{"chickencurry":"^1.0.2","expect.js":"^0.3.1","mocha":"^2.1.0"},"dependencies":{},"gitHead":"66b2e6a6164a63ade370cb11d61ef048cbcdc3f9","_id":"compose-function@1.1.1","_shasum":"499f98824308722d8def55f255620a9f3a62f9ef","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.25","_npmUser":{"name":"schtoeffel","email":"schtoeffel@gmail.com"},"maintainers":[{"name":"schtoeffel","email":""}],"dist":{"shasum":"499f98824308722d8def55f255620a9f3a62f9ef","size":2036,"noattachment":false,"key":"/compose-function/-/compose-function-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/compose-function/download/compose-function-1.1.1.tgz"},"directories":{},"publish_time":1420560697856,"_cnpm_publish_time":1420560697856,"_hasShrinkwrap":false},"1.0.1":{"name":"compose-function","version":"1.0.1","description":"Compose new functions f(g(x))","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/stoeffel/compose-function"},"keywords":["function","compose","functional"],"author":{"name":"stoeffel"},"license":"MIT","bugs":{"url":"http://github.com/stoeffel/compose-function/issues"},"homepage":"http://github.com/stoeffel/compose-function","devDependencies":{"chickencurry":"^1.0.2","expect.js":"^0.3.1","mocha":"^2.1.0"},"dependencies":{},"gitHead":"f31adec2f9714a936ffaaa70f4116ddda6bb60bb","_id":"compose-function@1.0.1","_shasum":"4466bac12c5817e788fc5d9d189afa7d83603708","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.25","_npmUser":{"name":"schtoeffel","email":"schtoeffel@gmail.com"},"maintainers":[{"name":"schtoeffel","email":""}],"dist":{"shasum":"4466bac12c5817e788fc5d9d189afa7d83603708","size":2004,"noattachment":false,"key":"/compose-function/-/compose-function-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/compose-function/download/compose-function-1.0.1.tgz"},"directories":{},"publish_time":1420378401928,"_cnpm_publish_time":1420378401928,"_hasShrinkwrap":false},"1.0.0":{"name":"compose-function","version":"1.0.0","description":"Compose new functions f(g(x))","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/stoeffel/compose-function"},"keywords":["function","compose","functional"],"author":{"name":"stoeffel"},"license":"MIT","bugs":{"url":"http://github.com/stoeffel/compose-function/issues"},"homepage":"http://github.com/stoeffel/compose-function","devDependencies":{"expect.js":"^0.3.1","mocha":"^2.1.0"},"dependencies":{},"gitHead":"82f5ff42240429f8fccac83172d62934d7cf9318","_id":"compose-function@1.0.0","_shasum":"53dc80c97c16e9ce75eaf9c9f72e34f1cfa6297c","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.25","_npmUser":{"name":"schtoeffel","email":"schtoeffel@gmail.com"},"maintainers":[{"name":"schtoeffel","email":""}],"dist":{"shasum":"53dc80c97c16e9ce75eaf9c9f72e34f1cfa6297c","size":1790,"noattachment":false,"key":"/compose-function/-/compose-function-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/compose-function/download/compose-function-1.0.0.tgz"},"directories":{},"publish_time":1420376404059,"_cnpm_publish_time":1420376404059,"_hasShrinkwrap":false}},"readme":"[![Travis](https://img.shields.io/travis/stoeffel/compose-function.svg?style=flat-square)](https://travis-ci.org/stoeffel/compose-function)\n[![npm](https://img.shields.io/npm/v/compose-function.svg?style=flat-square)](https://www.npmjs.com/package/compose-function)\n[![Dependency Status](https://david-dm.org/stoeffel/compose-function.svg?style=flat-square)](https://david-dm.org/stoeffel/compose-function)\n[![Coveralls](https://img.shields.io/coveralls/stoeffel/compose-function.svg?style=flat-square)](https://coveralls.io/github/stoeffel/compose-function)\n\n\n<h1 align=\"center\">Compose-Function</h1>\n\n<p align=\"center\">\n  <a href=\"#installation\">Installation</a> |\n  <a href=\"#usage\">Usage</a> |\n  <a href=\"#related\">Related</a> |\n  <a href=\"#license\">License</a>\n  <br><br>\n  <img align=\"center\" height=\"300\" src=\"http://33.media.tumblr.com/006dfad04f93ec5b3680ec7cdae3fafa/tumblr_n8kgl18uU41qcung4o1_1280.gif\">\n  <br>\n  <sub>logo by <a href=\"http://justinmezzell.tumblr.com/\">Justin Mezzell</a></sub>\n  <blockquote align=\"center\">Compose a new function from smaller functions `f(g(x))`</blockquote>\n</p>\n\nInstallation\n------------\n\n`npm install compose-function`\n\nUsage\n-----\n\n## Basic usage\n\n```js\nimport compose from 'compose-function';\n\nconst composition = compose(sqr, add2); // sqr(add2(x))\n\ncomposition(2) // => 16\n\ncompose(sqr, inc)(2); // => 9\ncompose(inc, sqr)(2); // => 5\n```\n\n\n## with curry\n\n```js\nimport compose from 'compose-function';\nimport { curry, _ } from 'curry-this';\n\n\nconst add = (x, y) => x + y;\n\n// add(6, sqr(add(2, x)))\ncompose(\n  add::curry(6),\n  sqr,\n  add::curry(2),\n);\n\n// map(filter(list, even), sqr)\ncompose(\n  map::curry(_, sqr),\n  filter::curry(_, even),\n)([1,2,3,4,5,6,7,8]) // => [4, 16, 36, 64]\n```\n\n### `::` huh?\n\nIf you’re wondering what the `::` thing means, you’d better read this excellent [overview](https://github.com/jussi-kalliokoski/trine/blob/5b735cbfb6b28ae94bac0446d9ecd5ce51fb149b/README.md#why) by [@jussi-kalliokoski](https://github.com/jussi-kalliokoski) or have a look at the [function bind syntax proposal](https://github.com/zenparsing/es-function-bind).\nOr checkout the [curry-this docs][ct].\n\n\nRelated\n----\n\n* [curry-this][ct]\n\nLicense\n----\n\nMIT © [Christoph Hermann](http://stoeffel.github.io)\n\n[r]: http://ramdajs.com\n[ct]: https://github.com/stoeffel/curry-this\n","_attachments":{},"homepage":"http://github.com/stoeffel/compose-function","bugs":{"url":"http://github.com/stoeffel/compose-function/issues"},"license":"MIT"}