{"_id":"g-apply","_rev":"2-8d961d59b81df0225818e299ae809e71","name":"g-apply","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"g-apply","version":"0.0.1","description":"Apply the parameters synchronously to all the functions, and returns the result of the last function","main":"build/index.js","scripts":{"clean":"rimraf build/","build":"npm run clean && tsc --project tsconfig.json","test":"mocha ./test/**/*.spec.ts"},"repository":{"type":"git","url":"git+https://github.com/djansyle/g-apply.git"},"keywords":["apply","compose","middleware"],"author":{"name":"djansyle"},"license":"MIT","bugs":{"url":"https://github.com/djansyle/g-apply/issues"},"homepage":"https://github.com/djansyle/g-apply#readme","devDependencies":{"@types/chai":"^4.2.11","@types/chai-as-promised":"^7.1.2","@types/mocha":"^7.0.2","@types/node":"^13.11.0","@types/sinon":"^9.0.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","mocha":"^7.1.1","rimraf":"^3.0.2","sinon":"^9.0.1","ts-node":"^8.8.2","typescript":"^3.8.3"},"dependencies":{"is-promise":"^2.1.0","p-map-series":"^2.1.0"},"mocha":{"timeout":"30s","exit":true,"colors":true,"require":["ts-node/register/transpile-only"]},"gitHead":"09b10660a813843ede2a6a80c4b446c5b7c528cc","_id":"g-apply@0.0.1","_nodeVersion":"12.7.0","_npmVersion":"6.10.0","dist":{"integrity":"sha512-GTvf690NhKgKjrMGUqjR8Q4440RVvkZvEnO/dnKMchJmFCmsQJtiNuOlkjao0WRJZa0c+AulVKc7lahYNsR5UA==","shasum":"a242b4b0b9febd567c0425dd3f02caac5f047631","tarball":"https://registry.npmjs.org/g-apply/-/g-apply-0.0.1.tgz","fileCount":4,"unpackedSize":3430,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejXR7CRA9TVsSAnZWagAAKoUP/RiRbrkFfQFiMcnbB4dz\nScvTRhTfE7P14UeFeMT30u5FVC/Tvu2WsQgZ1B7I/jajKMzfvUtMcvjbSuvt\n2tMrT5TU6gyRMXq2M824L/k+K7t0V0fbMnsqaQeCy8lowqMn4lx+QsHronT7\nO78MgoB1YXvs/T6rVBAePQkxVn2ArE8Za/Xyq9dFsV5NWg1Qa4tytoniL4iy\nIHdlo79mJrgluaKxRh7kwF9YOR78LoMFEnhhB+iNA2ocnL+poB0YdLSmAKYL\nL4Q52uun/DDwqvTwCGHPgI6P0wAw8f6LeapjxBO1J24GXGx+f2i6E8MFo8l8\n9NNpn5ZdOqcNMSOUh4h5AHaBEWWRiIsL5xRTkTHdeD7AtwazJkd9rirDBfec\ntIyU6thrBtPn6mpKHRHe3UfXgIZhU3q0Is6lKcl4TZC7O05IOYEZIWB34dR/\nzw68lRv7eseXbOeTyJwiqmPEDGWlNJ3302eb2RyEwB5IzUg1X5cIoC6lQ1Sp\nh6HIW7fTzU/C712SGSFSywCYo3S8mGSxy7tBBCtHNTEZQquxYabLy7r4gKHz\nFsAPFvhusjp49wao71gh3oNV6bfOWc4CYlVGOJolGpVcLoPg/wDcYbpRxOlv\nUObEwP++JXi2FTv4y1TEWMiAIh+IUT1fS2sPsy9L/K4QdVI5d2tb84eiFlpJ\nSREW\r\n=8laK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICIing3silySpTK7ZnjCTnaFgnyccRYFT94OnV2fEPp5AiEAw3E0fkaUFXVQUrqXg05jcFZpYCnncLCFUhLH1iZxg9A="}]},"maintainers":[{"name":"djansyle","email":"djansyledjans@gmail.com"}],"_npmUser":{"name":"djansyle","email":"djansyledjans@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/g-apply_0.0.1_1586328699253_0.563649511898884"},"_hasShrinkwrap":false},"0.0.2":{"name":"g-apply","version":"0.0.2","description":"Apply the parameters synchronously to all the functions, and returns the result of the last function","main":"build/index.js","scripts":{"clean":"rimraf build/","build":"npm run clean && tsc --project tsconfig.json","test":"mocha ./test/**/*.spec.ts","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/djansyle/g-apply.git"},"keywords":["apply","compose","middleware"],"author":{"name":"djansyle"},"license":"MIT","bugs":{"url":"https://github.com/djansyle/g-apply/issues"},"homepage":"https://github.com/djansyle/g-apply#readme","devDependencies":{"@types/chai":"^4.2.11","@types/chai-as-promised":"^7.1.2","@types/mocha":"^7.0.2","@types/node":"^13.11.0","@types/sinon":"^9.0.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","mocha":"^7.1.1","rimraf":"^3.0.2","sinon":"^9.0.1","ts-node":"^8.8.2","typescript":"^3.8.3"},"dependencies":{"is-promise":"^2.1.0","p-map-series":"^2.1.0"},"mocha":{"timeout":"30s","exit":true,"colors":true,"require":["ts-node/register/transpile-only"]},"gitHead":"dd826c8399a22f486bf731877085e4cf2047aefd","_id":"g-apply@0.0.2","_nodeVersion":"12.7.0","_npmVersion":"6.10.0","dist":{"integrity":"sha512-aDGMThGT2u0uG/iC7NDGbaV0xmzcnjv/9Z+3vFbUE6iwgi30dhf4/ZpJusv1FtLHh5olBD5RWuxj3D3gAbeYrA==","shasum":"44161a14a8e990d275306d189394cc4cc02f796e","tarball":"https://registry.npmjs.org/g-apply/-/g-apply-0.0.2.tgz","fileCount":5,"unpackedSize":3580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejXZrCRA9TVsSAnZWagAANxMQAIglJGqlpoyKPDo+7Smy\nbOEfXS+alMarA7UQLe3yS8nh4yjMmv93gJ4hQmIa35ntDjP0AoSwmOpGiItz\nAw+EkDcX23V9WGBwDsO2kA6HyXtsauc8/0Qel72OrB0bYagFkmIiPlA7pV8/\n9V09BF83Vq64wTnd/qgVTUKoy138fqxEA7YqvUmU0pHvL98BBLppl/DTtnXS\nMIlHBqEr62UIrJTyCmO9OAuD5ElYVkLGSyZE/sI/S54ImE6hBxNfg3q+hq93\nKOFTf0GEjZ453twM1Yv8OOfN9rxuSaHrwe3YvY8RuMsfj0bf2ARNikweaetg\nXcrM+n5hNo3TJ7g49hxLHAGrb35UycbJvpWH2TtST2JvjqZ6iJcVIS8K6sLj\nGScwjnmoREJYGwHJ+x2wMQjFHKnKNsC1HSZh6CIb07P8l9IXExA7gobiwOyg\nsSxhzb3oH5nHG7ENhBiBGMRps3CVUB3N12euXxYpvdf4+MIMRVdissIT/M2T\niyKED20QY0kP+x8f5QMwYs3Uel4AA8YZrFArmihyV5c1kleM2iIjHnMOZmmq\n5nfaNnvqkf7UGRp1wz5UTT1uZDgTQSHI8CORzFStRx4Ed3EwU34EMnDSFt5v\niUxBEoBLR9a67dHtdZWbLjX5c67xy9rZqUeE1kZo1RWFv/LOBR8JRn46+h/g\nGkKh\r\n=pnLA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBPqOQQ06C2WRnkF3PMca3yWk6Z0oQ9rIf9y1a/izar3AiEAmjdNrB26a9oYHCkXLPYnZXcvaO5JJlToPT1ZUUYkgj4="}]},"maintainers":[{"name":"djansyle","email":"djansyledjans@gmail.com"}],"_npmUser":{"name":"djansyle","email":"djansyledjans@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/g-apply_0.0.2_1586329195006_0.9416293274625984"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-08T06:51:39.253Z","0.0.1":"2020-04-08T06:51:39.390Z","modified":"2022-05-03T02:27:31.439Z","0.0.2":"2020-04-08T06:59:55.220Z"},"maintainers":[{"name":"djansyle","email":"djansyledjans@gmail.com"}],"description":"Apply the parameters synchronously to all the functions, and returns the result of the last function","homepage":"https://github.com/djansyle/g-apply#readme","keywords":["apply","compose","middleware"],"repository":{"type":"git","url":"git+https://github.com/djansyle/g-apply.git"},"author":{"name":"djansyle"},"bugs":{"url":"https://github.com/djansyle/g-apply/issues"},"license":"MIT","readme":"# g-apply\nA simple utility that applies the, function's parameter to series of function serially and returns only the last function result.\n\nEx:\n```javascript\nfunction foo(num) {\n  console.log('just logging foo: ', num);\n}\n\nfunction bar(num) {\n  return num + 2;\n}\n\nconsole.log(apply([foo, bar])(5));\n// just logging foo: 5\n// 7\n```","readmeFilename":"README.md"}