{"_id":"most-last","_rev":"10-59dd6ea9b5b1441be3407637974438d8","name":"most-last","description":"Emit the last value of your streams","dist-tags":{"latest":"2.1.0","stable":"2.1.0"},"versions":{"1.0.0":{"name":"most-last","version":"1.0.0","description":"Emit the last value of your streams","main":"lib/index.js","jsnext:main":"src/index.js","module":"src/index.js","typings":"type-definitions/most-last.d.ts","files":["dist","lib","type-definitions"],"scripts":{"build":"rollup -c && uglifyjs dist/most-last.js -o dist/most-last.min.js && buba src -o lib","test":"northbrook eslint && northbrook run mocha","commit":"northbrook commit","release":"northbrook release","preversion":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/mostjs-community/last.git"},"keywords":["most.js","reactive","streams","last","observable"],"author":{"name":"Tylor Steinberger","email":"tlsteinberger167@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/mostjs-community/last/issues"},"homepage":"https://github.com/mostjs-community/last#readme","config":{"ghooks":{"commit-msg":"node ./node_modules/.bin/validate-commit-msg"},"validate-commit-msg":{"types":"@northbrook/commit-types"}},"devDependencies":{"@northbrook/eslint":"^1.2.1","@northbrook/mocha":"^1.0.0","babel-preset-power-assert":"^1.0.0","buba":"^3.0.1","most":"^1.0.3","northbrook":"^3.1.0","power-assert":"^1.4.1","rollup":"^0.36.0","rollup-plugin-buba":"^1.0.1","uglify-js":"^2.7.3"},"peerDependencies":{"most":"^1.0.3"},"gitHead":"1930132380b6783c8ecd793705dff0e57ea04bf9","_id":"most-last@1.0.0","_shasum":"4e3f0b289c24cf90b9d8384676de90a26e376171","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.5.0","_npmUser":{"name":"tylors","email":"tlsteinberger167@gmail.com"},"dist":{"shasum":"4e3f0b289c24cf90b9d8384676de90a26e376171","tarball":"https://registry.npmjs.org/most-last/-/most-last-1.0.0.tgz","integrity":"sha512-2lsQXnBaJH1p+TpgU21pW5i3AOlqbbNZeuoKHoMVBzV2zKsClsKnZV27RjgfMZFTIw7zyVjTUQ2XKngNEHlMlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDP8JX//wNFtRXAJKAfIQk8Amssr/8o30dk+Zub2Oh9MQIgaK2ojDyxDKAMFPB739ggAIfZ7NKMCSCjrYpGzwANWxM="}]},"maintainers":[{"name":"tylors","email":"tlsteinberger167@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/most-last-1.0.0.tgz_1474311009851_0.396707251900807"},"directories":{}},"1.0.1":{"name":"most-last","version":"1.0.1","description":"Emit the last value of your streams","main":"lib/index.js","jsnext:main":"src/index.js","module":"src/index.js","typings":"type-definitions/most-last.d.ts","files":["dist","lib","type-definitions"],"scripts":{"build":"rollup -c && uglifyjs dist/most-last.js -o dist/most-last.min.js && buba src -o lib","test":"eslint src/ && ./node_modules/.bin/mocha --require babel-core/register ","preversion":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/mostjs-community/last.git"},"keywords":["most.js","reactive","streams","last","observable"],"author":{"name":"Tylor Steinberger","email":"tlsteinberger167@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/mostjs-community/last/issues"},"homepage":"https://github.com/mostjs-community/last#readme","config":{"ghooks":{"commit-msg":"node ./node_modules/.bin/validate-commit-msg"}},"devDependencies":{"babel-core":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-power-assert":"^1.0.0","babel-register":"^6.26.0","buba":"^3.0.1","eslint":"^4.19.1","eslint-config-standard":"^11.0.0","eslint-plugin-import":"^2.10.0","eslint-plugin-node":"^6.0.1","eslint-plugin-promise":"^3.7.0","eslint-plugin-standard":"^3.0.1","mocha":"^5.0.5","most":"^1.0.3","power-assert":"^1.4.1","rollup":"^0.36.0","rollup-plugin-buba":"^1.0.1","uglify-js":"^2.7.3"},"peerDependencies":{"most":"^1.0.3"},"gitHead":"4c6593fe572172abbf9f6d36677e83e70c36e22a","_id":"most-last@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.10.1","_npmUser":{"name":"hoichi","email":"hi@hoichi.io"},"dist":{"integrity":"sha512-ycc+leSrXoGRjxhsZJW/l+Sk0CXj9e/z6EP5ebZ8A+zDWGRq1v/oeNkyQF4TG95LnT5Q0ysG+5piJYSR86k58A==","shasum":"9daea885d6d2166f9e6523c2723acc70716ceae1","tarball":"https://registry.npmjs.org/most-last/-/most-last-1.0.1.tgz","fileCount":9,"unpackedSize":7947,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+ffno4/YpA15R3fXwKuGVdj2LYNrTzySt+LW/wz2DrAIhALHDCAGEqyfatbMwCsuUEEb8y1mH3ViHiTe5YB9Ne9NC"}]},"maintainers":[{"email":"hi@hoichi.io","name":"hoichi"},{"email":"tlsteinberger167@gmail.com","name":"tylors"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/most-last_1.0.1_1523206189778_0.06257739380044414"},"_hasShrinkwrap":false},"2.0.0":{"name":"most-last","version":"2.0.0","description":"Emit the last value of your streams","main":"lib/index.js","jsnext:main":"src/index.js","module":"src/index.js","typings":"type-definitions/most-last.d.ts","files":["dist","lib","type-definitions"],"scripts":{"build":"rollup -c && uglifyjs dist/most-last.js -o dist/most-last.min.js && buba src/ -o lib/","test":"eslint src/ && ./node_modules/.bin/mocha --require babel-core/register ","preversion":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/mostjs-community/last.git"},"keywords":["most.js","reactive","streams","last","observable"],"author":{"name":"Tylor Steinberger","email":"tlsteinberger167@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/mostjs-community/last/issues"},"homepage":"https://github.com/mostjs-community/last#readme","config":{"ghooks":{"commit-msg":"node ./node_modules/.bin/validate-commit-msg"}},"devDependencies":{"@most/core":"^1.2.3","@most/scheduler":"^1.1.0","@most/types":"^1.0.0","babel-core":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-power-assert":"^1.0.0","babel-register":"^6.26.0","buba":"^4.0.2","eslint":"^4.19.1","eslint-config-standard":"^11.0.0","eslint-plugin-import":"^2.10.0","eslint-plugin-node":"^6.0.1","eslint-plugin-promise":"^3.7.0","eslint-plugin-standard":"^3.0.1","mocha":"^5.0.5","power-assert":"^1.4.1","rollup":"^0.36.0","rollup-plugin-buba":"^1.0.1","uglify-js":"^2.7.3"},"peerDependencies":{"@most/core":"^1.2.3"},"gitHead":"09f763941e5b02f622d67363f488c6e9c7674ad4","_id":"most-last@2.0.0","_shasum":"134bd6d432bc24b6103444f749f30e496dfb1d69","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"hoichi","email":"hi@hoichi.io"},"dist":{"shasum":"134bd6d432bc24b6103444f749f30e496dfb1d69","tarball":"https://registry.npmjs.org/most-last/-/most-last-2.0.0.tgz","fileCount":11,"unpackedSize":9062,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5vfICRA9TVsSAnZWagAA6DcQAKEgEhglW356hNOl1N1a\nsiauwkhhnHHbPZc1s0AB9mgjMCj+MxIkwWJRFS4rBMukfGhiAf2t8uqrK2Mb\nj32LdA5I3sPE8kdYYqKk60lPtdgTj8Um7wpC5AAtGQyuq+uvwCaBbG6Iiq1U\nlNWNd0GMVjSPcXE2dI7fLG15pcVFgkZQb1f8Aslokt6M/ITM83Kza1ND3PQP\no7HnjnJi90zQz9IJXLAxFxKKlvVVrWlT9Qs2eCHNx+Yz5ljyY2dpTGyQyOgr\nVE206NalN/W3FsPGr+9q5kAzyL9TeE7RT9ZC/v4IH2n2O9MhQ2CRfBRKvD0q\nl2sYXvwwdnUvdM62UIcFuwyQSAsguUIwGJNvOdd0e2llZNjK2c6+OLydNreP\nqb2lzAUPxhxHqzFFBdmqXhyPj/JpnQEID55VC4KbF9a4wTjzjlPepG8SyTD5\nl7oqJAaNJQTHDUfm35i6PzfP3rDuIyykoTPvDibMeN1kETfAVPdNQhRQ0siQ\n/OtgT4QSZ9R+lgtDxvMclyFHQxzW3UWTmgmwSMi3DiGX1fbqS8mMn/zFcoro\nuP9bunTBpvFKYHoh7JOhnmeFYfVlRWbSi/drD3R+5ogWzZWIK7cJcipEro2w\nDB/GGMhEW/NdeNZJyRxIj1gnzklvV7A5MWv85I638MhQIiyY80zyQJlP3H1y\nR8vS\r\n=9KLt\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-8MAPnm7GIxccJfyiwGswjBymsR5jSsVEdmGzTD5qG7BX8+CV34y/7zxLo8mbmjJirXtom+UAVHC7s6waWRSusg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHLj1ksUoqgvJtsbO7FGHX5P8MbzHPBH+lBoxe8qUebJAiAgbcA7zOxPNt1rIrswdigmBvcYqJUWkws+8ohcDdzg9w=="}]},"maintainers":[{"email":"hi@hoichi.io","name":"hoichi"},{"email":"tlsteinberger167@gmail.com","name":"tylors"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/most-last_2.0.0_1525086152066_0.22509867274123985"},"_hasShrinkwrap":false},"2.1.0":{"name":"most-last","version":"2.1.0","description":"Emit the last value of your streams","main":"lib/index.js","module":"lib.es2015/index.js","jsnext:main":"lib.es2015/index.js","typings":"lib/index.d.ts","files":["dist","lib"],"scripts":{"build":"npm run build:commonjs && npm run build:es2015 && npm run build:umd","build:commonjs":"tsc -P cfg/tsconfig.commonjs.json","build:es2015":"tsc -P cfg/tsconfig.es2015.json","build:umd":"rollup -c && uglifyjs dist/most-last.js -o dist/most-last.min.js","test":"npm run test:lint && npm run test:unit","test:lint":"tslint -p tsconfig.json -c tslint.json 'src/*.ts'","test:unit":"mocha -r ts-node/register src/*.test.ts","prebuild":"npm run test","preversion":"npm run build","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/mostjs-community/last.git"},"keywords":["most.js","@most/core","reactive","streams","last","observable"],"author":{"name":"Tylor Steinberger","email":"tlsteinberger167@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/mostjs-community/last/issues"},"homepage":"https://github.com/mostjs-community/last#readme","config":{"ghooks":{"commit-msg":"node ./node_modules/.bin/validate-commit-msg"}},"devDependencies":{"@most/types":"^1.0.0","@types/mocha":"^5.2.0","@types/node":"^9.6.6","@types/power-assert":"^1.5.0","mocha":"^5.0.5","power-assert":"^1.4.1","rollup":"^0.58.2","rollup-plugin-typescript2":"^0.13.0","ts-node":"^6.0.0","tslint":"^5.9.1","tslint-config-standard":"^7.0.0","typescript":"^2.8.1","uglify-js":"^2.7.3"},"peerDependencies":{"@most/core":"^1.2.3"},"dependencies":{"@most/core":"^1.2.3","@most/scheduler":"^1.1.0"},"readme":"# most-last\n\n> Wait for your last event to play\n\nLast will wait until your stream ends, and play the very last event that has occurred.\n\n**Warning**: v2.x is only compatible with [@most/core](https://github.com/mostjs/core). For the old [mostjs](https://gitter.im/cujojs/most), use `most-last` v1.0.\n\n## Get it\n\n```sh\nnpm install --save most-last\n```\n\n## Usage\n\n```js\nimport { iterate, take } from 'most'\nimport { last } from 'most-last'\n\nconst stream = last(take(5, iterate(x => x + 1, 0)))\n\nstream.observe(function (x) {\n  if (x === 4) { // true\n    ...\n  }\n})\n\n```\n","readmeFilename":"README.md","gitHead":"f07761f158028b69d4d7324dcedcf22b03590a76","_id":"most-last@2.1.0","_shasum":"4df1135ffd3db6910922f4152954241374ad93f5","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"hoichi","email":"hi@hoichi.io"},"dist":{"shasum":"4df1135ffd3db6910922f4152954241374ad93f5","tarball":"https://registry.npmjs.org/most-last/-/most-last-2.1.0.tgz","fileCount":9,"unpackedSize":7933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5vgTCRA9TVsSAnZWagAAbPAP/iJ0bImnw1Z3u5sF3HdP\niemqw7t4tA0RflOvi+87GMZU8VeMVf4oI0h6TBkRTEj2RxwOBEFEmazEZh1w\n5/FRNDVaUGuThdNtlDNJ2/1buhMENkyEwMKAGzNE7V3dlfqN1nRPMdIN6/oI\nVh5F0N7TW5D4B9l1qtYTkqnxJDOZnpuUdCyY5R9du68UDwP6dV1vNuZ1Xqd7\nj9bwLpILtNk39z17uon9S+r/L/JiN0LMeFrUyPcFx4fyghDUbFRrrbjCGADW\nfr6WJSfMJTcrs8gcjuXCvBPiA1Zwl2fQL3xSAK8l4HcrcE9TXajjsTFDj4YX\nINnPMH38bObXdwRU8GWfLpt+KoYzqC4yK1VdcBITn8X25p4qOvx/67NZSZTX\n2p2lofYshn1zv6q8tkIB4p9TltHohoOPXa6X0AsnUloVay5tfuxi7rUVecZT\nxGeSBuWfDQxxQ+ZmFel5H4R2LjZsvvrpjq6ISo0UykPOt8ijENVG/8ZTbuz5\ncUPScCZBqXSX24HJoc3Bjb2ZzgqiLbMAoNxyf104kl+iQahsUxP7BIHpCcVc\nRFgLfmj/WXBHhW/g4qinWuNPx9anBtN3N/cYGqI2P/SoKHzcV2pnU11rXYCO\n1Zpy5iXWS9grf156Pds57yX/xP1dBZxPabr0+c/y5eR9vhq0xnmMFTKDcfKn\ncQOQ\r\n=hGDJ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-j5eIaBwc8IGLb4TGFtQcguxpGLJ5z5Mya8+SPlMspkEbkbga1qJYRRsIeD0KwiuI13fbl4AeJArmJUPS5fhSkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICkMAMSroE+PakhmbeE1DffJl7O1vhqgUcUkyl+2zfzrAiEA+8bFythTL7lHgBQDq9jYnFj92M6f/sC2Jf/tLlsIpnA="}]},"maintainers":[{"email":"hi@hoichi.io","name":"hoichi"},{"email":"tlsteinberger167@gmail.com","name":"tylors"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/most-last_2.1.0_1525086227170_0.819662781101266"},"_hasShrinkwrap":false}},"readme":"","maintainers":[{"email":"hi@hoichi.io","name":"hoichi"},{"email":"tlsteinberger167@gmail.com","name":"tylors"}],"time":{"modified":"2022-06-20T09:57:53.812Z","created":"2016-09-19T18:50:11.869Z","1.0.0":"2016-09-19T18:50:11.869Z","1.0.1":"2018-04-08T16:49:49.903Z","2.0.0":"2018-04-30T11:02:32.219Z","2.1.0":"2018-04-30T11:03:47.309Z"},"homepage":"https://github.com/mostjs-community/last#readme","keywords":["most.js","reactive","streams","last","observable"],"repository":{"type":"git","url":"git+https://github.com/mostjs-community/last.git"},"author":{"name":"Tylor Steinberger","email":"tlsteinberger167@gmail.com"},"bugs":{"url":"https://github.com/mostjs-community/last/issues"},"license":"MIT","readmeFilename":"","users":{"shakakira":true}}