{"_id":"@atomic-stack/global_snake","_rev":"1-fb812ea79ca9cff81008c50e0e282790","name":"@atomic-stack/global_snake","dist-tags":{"latest":"1.1.2"},"versions":{"1.1.1":{"name":"@atomic-stack/global_snake","description":"Like Lodash, but for ESNext and with types. Stop shipping code built for browsers from 2015.","version":"1.1.1","type":"module","module":"dist/index.js","main":"dist/index.js","types":"dist/index.d.ts","sideEffects":false,"scripts":{"prepublishOnly":"npm run build","test":"NODE_OPTIONS=--loader=ts-node/esm jasmine --config=jasmine.json","tsc":"tsc -p . --declaration","tsc:w":"tsc -p . --declaration --watch","lint":"eslint src/**/*.ts --fix","build":"npm run lint && npm test && npm run tsc","docs":"typedoc"},"devDependencies":{"@types/jasmine":"^4.3.0","@typescript-eslint/eslint-plugin":"^5.39.0","eslint":"^8.25.0","eslint-config-prettier":"^8.5.0","eslint-config-standard-with-typescript":"^23.0.0","eslint-plugin-n":"^15.3.0","eslint-plugin-prettier":"^4.2.1","jasmine":"^4.4.0","jasmine-spec-reporter":"^7.0.0","prettier":"^2.7.1","ts-node":"^10.9.1","typedoc":"^0.23.16","typescript":"^4.8.4"},"repository":{"type":"git","url":"git+https://github.com/adrian2x/atomic-fns.git"},"keywords":["modules","stdlib","util","fp","lazy","itertools","core-js","lodash","lodash-es","es6","es7","es8","es9","es2020","es2021","es2022","esnext","es-next","@esnext","@es-next","atomicfns","atomic-fns"],"author":{"name":"Adrian Cruz","email":"kangoonie@gmail.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/adrian2x/atomic-fns/issues"},"homepage":"https://github.com/adrian2x/atomic-fns#readme","gitHead":"4db0f0ea38e212a84a15eebd99f5c088e00c9c91","_id":"@atomic-stack/global_snake@1.1.1","_nodeVersion":"19.1.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-6QY6Nx86p7iVM+jtl4rLL1tGb1cKbepPIvdfffpSaXjhdQU7kXiW+waWzfCnkUSgcUUT9MjFq6GcORQa3/b2cQ==","shasum":"235169c245d66b0e9c8a8286445bbc50dc1914f4","tarball":"https://registry.npmjs.org/@atomic-stack/global_snake/-/global_snake-1.1.1.tgz","fileCount":62,"unpackedSize":398411,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFB8PPxlrLXJpTjPZdVDI17/mcBvpQfXq5xA3OcdyH4wAiEAs+Lej8zZjsfzu5gVS6NW5yYTmNFe1G/GOm2jcwIbDzw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0imtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9Gw//X5qAwGlwTSsaRa36TZciptZ42GzW+sIbt3qHz7ruOSD+fOaU\r\n0BXxgtjEU46wwpl68GWJheefx5VIRHe7srSagcpbazLXtQ2i0k1M2gA2/Ivj\r\nQEgZDlBkVFHyTpbR+kuxo89+aUUXHi06S32eevdCy0t2G5TQItX1f8RhbDoq\r\nFeOlv07Jq5L2pZQuJdnYsS4TUhCO92QaNDbagvikj/qw0CXd6zQrTbCm37v5\r\n13j6KPRF6ccizh9pe/s2JPCtS94ibF84uTb6FIS49jB2ZGj9lSecABqyX/xy\r\nwpfM8ApUqEtmDdIySecKeW77AW/zJFWu/REEC225TNUmPFeR1M/bAy3wd/SV\r\nvd+ZtCoreMeJD9kUC+xcKYT8KeBFXJXkg5HFhdEm7M+orlaAawkyUJQqx8ny\r\npjfCjjn16sTKIKvBT/W+9gZSWOP+Rfge0Am6IwmnnCZtlPiheabaQrN0tKzh\r\neE3kh5mcgUFZJt45TmYJQO689BzMBO0ZwzDl2aSds6t1k4q4nl1i3hNNmvZg\r\nV6bdABG8vTKwrtOluuggbAgd1vMB6b5KC9ueD8kTdZAffkdM2pMUaAYA/ZL3\r\nWo2e/UG0WQkyzu5TqxwIosIRlEIKBmT6UHMiRWMqlpFSngWpR3K0IQWXCiOD\r\nAX3zdyBD2iBGobPePhhl9TjkobB2AyF70pA=\r\n=uinQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"adrian2x","email":"kangoonie@gmail.com"},"directories":{},"maintainers":[{"name":"adrian2x","email":"kangoonie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/global_snake_1.1.1_1674717613409_0.551145998301511"},"_hasShrinkwrap":false},"1.1.2":{"name":"@atomic-stack/global_snake","description":"Like Lodash, but for ESNext and with types. Stop shipping code built for browsers from 2015.","version":"1.1.2","type":"module","module":"dist/index.js","main":"dist/index.js","types":"dist/index.d.ts","sideEffects":false,"scripts":{"prepublishOnly":"npm run build","test":"NODE_OPTIONS=--loader=ts-node/esm jasmine --config=jasmine.json","tsc":"tsc -p . --declaration","tsc:w":"tsc -p . --declaration --watch","lint":"eslint src/**/*.ts --fix","build":"npm run lint && npm test && npm run tsc","docs":"typedoc"},"devDependencies":{"@types/jasmine":"^4.3.0","@typescript-eslint/eslint-plugin":"^5.39.0","eslint":"^8.25.0","eslint-config-prettier":"^8.5.0","eslint-config-standard-with-typescript":"^23.0.0","eslint-plugin-n":"^15.3.0","eslint-plugin-prettier":"^4.2.1","jasmine":"^4.4.0","jasmine-spec-reporter":"^7.0.0","prettier":"^2.7.1","ts-node":"^10.9.1","typedoc":"^0.23.16","typescript":"^4.8.4"},"repository":{"type":"git","url":"git+https://github.com/adrian2x/atomic-fns.git"},"keywords":["modules","stdlib","util","fp","lazy","itertools","core-js","lodash","lodash-es","es6","es7","es8","es9","es2020","es2021","es2022","esnext","es-next","@esnext","@es-next","atomicfns","atomic-fns"],"author":{"name":"Adrian Cruz","email":"kangoonie@gmail.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/adrian2x/atomic-fns/issues"},"homepage":"https://atomic-fns.dev","gitHead":"3a13b4e1e29bbc694d4f4f7c19313591ca694cad","_id":"@atomic-stack/global_snake@1.1.2","_nodeVersion":"19.1.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-PfQJ+zK2aRVbZ2Tr7/Cntf8e8Fghx8NnNOHqp+eS3w85r0deTVUclVyPGfzpqjEvPqJ8D7Xphy9yRXYcCIJxcw==","shasum":"1696fd3b15b586daa4cff0e1e11fd4d025986d00","tarball":"https://registry.npmjs.org/@atomic-stack/global_snake/-/global_snake-1.1.2.tgz","fileCount":62,"unpackedSize":398722,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkEjSa2H7X4ExtXPBRlg2hTJd50bsTBdZTtnTVe0YP2gIgEpccqotEIGGwgdzjpV6nDoY6WIOQfnP//he3Zfv+fS0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1A0aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpr5RAAk1iOASaefH8gIKbpK46cenJyafsdyZaL+rXHPp+rslvTyk+h\r\nSyM8YHBAHiimQ+qmX+D7B2wFjtPF4pG98KlxtB0MDSYekDFx/WMjapF4iFho\r\n8GUHotR1LYDT5ozKXv6qndEIk6891xuLNPXkGViQNGhtVb7Zv5HZDozlF6Ix\r\n70ztqzg4m7DmGS+Bj+7WW6T46Af1hmwvDe2SFa7nixZNTaY32pDun4eJCok5\r\nryQD6X/VeYB+b8dvS8tLU0ohKFXkedpXnX9rxLUyOag7jM7VQnJg1oSIecPP\r\nvI4nSIvh5//UX5SD9tyZWuGaSqsIplclPJEP26ByjkHKoBMBZ1Lq7JV0z9iO\r\nFbZxCDDJN+BxOTnDmf82XjCyfgrTQt/WeXUWgit57boB8y0Uw7Stf5IJnyoJ\r\nT6162idEngNygNfWfOMyw4T2dA5rJGJns7aci1a+iGa1iOXBoRvVZlGb2PE0\r\nL64CHnnvxA/J3TNU0w/i/DsWcgS4tfUdWMVyekboSf1iWOxLeTq77ia/BO8t\r\n8OZLtlVGR+TVMz8FpiWrXWn5DfRLflMUtL6+woGSU1r9aG2H6V08BOSAYsb8\r\npukhP1Ca/1vsyQny4zSXmtJN5thZldegEZbtawFDK/JcMVUViG3Cu8qaC4HR\r\nyntfVJRetiQSLcne/TyJsQUjoLS1kW72bt8=\r\n=G7kO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"adrian2x","email":"kangoonie@gmail.com"},"directories":{},"maintainers":[{"name":"adrian2x","email":"kangoonie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/global_snake_1.1.2_1674841369834_0.6404540494317745"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-26T07:20:13.313Z","1.1.1":"2023-01-26T07:20:13.614Z","modified":"2023-01-27T17:42:50.069Z","1.1.2":"2023-01-27T17:42:49.986Z"},"maintainers":[{"name":"adrian2x","email":"kangoonie@gmail.com"}],"description":"Like Lodash, but for ESNext and with types. Stop shipping code built for browsers from 2015.","homepage":"https://atomic-fns.dev","keywords":["modules","stdlib","util","fp","lazy","itertools","core-js","lodash","lodash-es","es6","es7","es8","es9","es2020","es2021","es2022","esnext","es-next","@esnext","@es-next","atomicfns","atomic-fns"],"repository":{"type":"git","url":"git+https://github.com/adrian2x/atomic-fns.git"},"author":{"name":"Adrian Cruz","email":"kangoonie@gmail.com"},"bugs":{"url":"https://github.com/adrian2x/atomic-fns/issues"},"license":"Apache-2.0","readme":"# atomic-fns\n\n[Read the Docs](https://atomic-fns.dev)\n\n## Like Lodash, but in TypeScript and for ESNext.\n\nStop shipping code built for browsers from 2015. Really though, look at all the [issues](https://github.com/lodash/lodash/issues/2930).\n\nYou may prefer this because it's:\n\n* **TypeScript & docs**: Includes type declaration files and js with JSDocs for best in class experience.\n* **Zero deps**: Built from scratch with no runtime dependencies or polyfills.\n* **ESNext**: Uses modern idiomatic syntax, data structures, and control flow techniques.\n* **Modular**: Pick what you need. Supports tree-shaking, no side effects, and works with all bundlers.\n* **Lazy**: Leverage generators, iterators, and functional composition.\n* **Tests**: All modules have comprehensive test suites and public apis are 100% covered.\n\n## Docs\n\n📖 Available at [atomic-fns.dev](https://atomic-fns.dev)\n\n## Get Started\n\nThis library is available as an [npm package](https://www.npmjs.com/package/atomic-fns).\n\nTo install the package you need to have [npm](https://www.npmjs.com/get-npm) (or [yarn](https://yarnpkg.com/getting-started/install)) installed and then run:\n\n```bash\nnpm install atomic-fns\n```\n\n## How to use\n\nJust import any function or class you need.\n\n```js\nimport { sorted, times, uniqueId } from 'atomic-fns'\n\ntimes(5, (i) => i)\n// -> [0, 1, 2, 3, 4]\n\nsorted([4, 3, 2, 1])\n// -> [1, 2, 3, 4]\n\nuniqueId('user_')\n// -> 'user_101225005'\n...\n```\n\nSee the full list of [modules](https://atomic-fns.dev/modules.html).\n\n## Data model\nThis library features a data model similar to [Python](https://docs.python.org/3/reference/datamodel.html#special-method-names) but not always. Only the missing parts have been implemented, while respecting the JS standards.\n\nFor example, in Python collections, `size()` is a method, while in JS it's just a property. So this library uses `size` property instead of method. Similarly, the `len` function implementation checks for both `length` and `size` since many JS objects have a `length` property.\n\n## Special method names\nThis library adds support for operators using object methods such as:\n  - `obj.eq(other)`  adds custom `obj == other`.\n  - `obj.lt(other)`  adds custom `obj < other`.\n  - `obj.lte(other)`  adds custom `obj <= other`.\n  - `obj.gt(other)`  adds custom `obj > other`.\n  - `obj.gte(other)`  adds custom `obj >= other`.\n  - `obj.compare(other)`  overloads sorting operations.\n\nWhen working with objects, functions in this library use these custom operators for equality and sorting. You can also apply operators to values like `eq(x, y)`, `lte(x, y)`, `compare(x, y)`, etc.\n\n## New Types\n\n[`Decimal`](https://atomic-fns.dev/classes/decimal.Decimal.html) provides support for correct rounded floating point arithmetic, with arbitrary precision.\n\nSome common base interfaces and typing patterns you may have seen like `Optional`, `Result`, `Comparable`, `Iterator`, and others.\n\n### Sorted Containers\n  - [SortedSet](https://atomic-fns.dev/classes/collections.SortedSet.html)\n  - [SortedMap](https://atomic-fns.dev/classes/collections.SortedMap.html)\n  - [SortedTree](https://atomic-fns.dev/classes/collections.SortedTree.html)\n\n### Other Containers\n  - [Deque](https://atomic-fns.dev/classes/collections.Deque.html)\n  - [FrozenSet](https://atomic-fns.dev/classes/collections.FrozenSet.html)\n  - [LRUCache](https://atomic-fns.dev/classes/collections.LRUCache.html)\n\n\n## Contributing\nIf you want to contribute to the project and make it better, your help is very welcome. Contributing is also a great way to learn more about social coding on Github, new technologies and and their ecosystems and how to make constructive, helpful bug reports, feature requests and the noblest of all contributions: a good, clean pull request. You will be listed as a **Champion** on the official site as well.\n\n\n## License\n\n[Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n","readmeFilename":"README.md"}