{"_id":"@micro-ux/micro-dash","_rev":"28-eb2a265f18ba66b20af6598af6b93999","name":"@micro-ux/micro-dash","dist-tags":{"latest":"0.13.0"},"versions":{"0.0.10":{"name":"@micro-ux/micro-dash","version":"0.0.10","repository":{"type":"git","url":"git@github.com:micro-ux/micro-dash.git"},"author":{"name":"Nischith BM","email":"nischithbm@gmail.com"},"license":"MIT","main":"index.js","types":"index.d.ts","dependencies":{},"devDependencies":{},"engines":{"node":">=10.13.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"description":"Based on [lodash](https://github.com/lodash/lodash)","_id":"@micro-ux/micro-dash@0.0.10","dist":{"shasum":"24034a793decb1ec104e74a64893fa40ef39db0a","integrity":"sha512-qUP+O8QY4del48do+n73JDCtVGW5Tmss3gRNKn3JOLej+rLPX2EcjRFlkf5AXyh7JWIPgXuOwz/6nH0dpK6bFA==","tarball":"https://registry.npmjs.org/@micro-ux/micro-dash/-/micro-dash-0.0.10.tgz","fileCount":11,"unpackedSize":3364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnxTKCRA9TVsSAnZWagAA9XIP/3h0q2KM/rT3RUWno8/0\nLBgUSzEwFnwkFd9Phnsa19ca6Rlk9rNEMe4eRarKR6bHGUwsxKOeiOW5Dto5\nXA4ySukjyfy7kckEcLGx6nldmYiFqwH+OzgVMGh5QT9VenBc1fLYSPwM+e0/\nWAtE9ezwfC9qZ7Wh8gcbZOvdA+DBvsy0ZAsU/DWfNuKIUMc6ZzAxWXXSII0v\n9tiJItSzNg30YJGxQZItdPqbPCn+DokjLkNovKg5O71zBfGRHOClMo3pR5Tx\nByfgQ+BCWjJfghotmTVQHvUhilEKj1wotAdeAXoB4IK6N8eDxXT/5lVg7q3V\n1c/Kwr2a8nlu3C7ktpvCHO8Vn+86kb2tbozc2v3F9ITLbhxYbXhx7wKJWFE5\ny3N2zgpO2mfRD4mhcgmlpJUgyMxixKV0i9Hfx74NGY2btUS1U/rSccivp2Pn\ngJ+ak9djsjM8/diJmW9911uSUdmScrPuqxjNBGKaTAFSz6kgwXhMhFjj2w5V\nJg13PFYRv8v2PBxsW/oJFCaALCu2Zly1fYSne2ZH2i0aiMheteiFHv+jo6ED\nxgRs7dCqdO2TWKx1hrHLXvV8N/ywsMuoWdeC3uhuvMYNWt7HQGNQ6sCP195E\nNioanpu2hqtD6eNWF7YH3xCFTjrutPXzfHGQikNjTgEYB1KA00FymVjmUHHU\nkplL\r\n=/xqq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnry6xLb8RhCJoMYOmF3QKkj2P+5dBU4ET/hc4r5yl0gIgG8tb1SAQVYiaJDmnh4sVbaaWQ5NordZMtkWBQMzFadc="}]},"maintainers":[{"name":"nischithbm","email":"nischithbm@gmail.com"}],"_npmUser":{"name":"nischithbm","email":"nischithbm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micro-dash_0.0.10_1604261066277_0.8772315336409953"},"_hasShrinkwrap":false},"0.0.11":{"name":"@micro-ux/micro-dash","version":"0.0.11","repository":{"type":"git","url":"git@github.com:micro-ux/micro-dash.git"},"author":{"name":"Nischith BM","email":"nischithbm@gmail.com"},"license":"MIT","main":"index.js","types":"index.d.ts","dependencies":{},"devDependencies":{},"engines":{"node":">=10.13.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"description":"micro-dash offers a subset of lodash of the functionality found in [lodash](https://github.com/lodash/lodash)","_id":"@micro-ux/micro-dash@0.0.11","dist":{"shasum":"a7ddec607654f6e2e292392ab46d62c222469a8b","integrity":"sha512-q85hRBynHC6YJntCVM1p8titMPFlxIh+HssXgLeG31C8tUQJvWeuszhZ1CfIYT/LCO+91eCUIVTjJrWwOjw0gQ==","tarball":"https://registry.npmjs.org/@micro-ux/micro-dash/-/micro-dash-0.0.11.tgz","fileCount":19,"unpackedSize":11005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoDUECRA9TVsSAnZWagAA1LUQAJbLZIVHXNKSeDGcmbS4\nlNqdadM4ZVCtksetMRRhoifruTCOtSeqoGmW4qnfV4SguNcJRtZ57MYKVFFo\nskyX7n0PaX4xTW8L7IE9a/8kpGEMEml5kxpHZwnTjZ0CtaYLc4YebfAFC3ZQ\nY3mo01kF/moQoHsU3UI8lAFOZARZb7q1pB9KZiztARp2tP1IOdMBSkfgrnOC\nq3c00i0drafbdLu2GjwN0V8pbGQPXPif4sUbn7ctqigL2iR3m4Nvea1L0QAE\nmMtv0MOd3FGPFHKkUjqjXIb3K7+NNjAQd8qnBAuEs7w+Ik6q6K2t4bhOu30f\n5pfv5zFzi36nfMB0H3MzGyN8sDVElrMydThab6OUqZJohJTi2tE6w/4mP/9C\nupvl5iTdDEeOV/05sOoH4f16r0NES9z3j0yvIehXErih3kQ4lrqnZj3gRwo8\nguqG7Of59qN6fCLiPqJVm7lBoUxwE7r7TX86DYa2x6iGbv/JS5J6/EP6PRsW\n6flGte8JbKes+EyD9eW8l16zqSClrPpb2amnkeh8udx9KlsooDcUSw+7Q1AB\nM8ra/R8RL751Pwq4LkRZh6LpNu8Yi6qpUojHm+yMiRpC1lLlLDZpGd/qDNoU\nro4t8J7zWxyOASjWTTkVXMNGglHDUmmdhVVUeu2m3q+NPx+NllN7OkvyMg1b\njTgN\r\n=p9VE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCc3NGI0LwqGoWwXqAtIQPoElDEqeCG0Gkzy4n01lMTwwIgVNnxA0DdOSxBSHvOXXzbYFjeqRUsfFWXWNAieN9XbBU="}]},"maintainers":[{"name":"nischithbm","email":"nischithbm@gmail.com"}],"_npmUser":{"name":"nischithbm","email":"nischithbm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micro-dash_0.0.11_1604334851901_0.5156784176782805"},"_hasShrinkwrap":false},"0.12.0":{"name":"@micro-ux/micro-dash","version":"0.12.0","repository":{"type":"git","url":"git@github.com:micro-ux/micro-dash.git"},"author":{"name":"Nischith BM","email":"nischithbm@gmail.com"},"license":"MIT","main":"index.js","types":"index.d.ts","dependencies":{},"devDependencies":{},"engines":{"node":">=10.13.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"description":"micro-dash offers a subset of lodash of the functionality found in [lodash](https://github.com/lodash/lodash) + additional useful utilities","_id":"@micro-ux/micro-dash@0.12.0","dist":{"shasum":"f9358207fc69387391b80eabff7a795a9fbc209a","integrity":"sha512-/QjnuF49DpkqEw8s72ZhQ0N5e/0Hu1UJPp5i4tKhzOmvxPUzVcZKz843A/wzpsuAA1rinUoed+vAIeLjDvO4sQ==","tarball":"https://registry.npmjs.org/@micro-ux/micro-dash/-/micro-dash-0.12.0.tgz","fileCount":28,"unpackedSize":15632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfwf2pCRA9TVsSAnZWagAAQY0P/i01Xo0wQex3H2emh2BG\nu58Six8BoBYkUd7jKbJOpy+2nDWYhnxqdVBs9omHEct6VC6Pt4hWtu8GI9WX\nk1Ef1QGBISHWzqqsl4I+yshOk/ip7QOflb3kO5kLokqLhSSNmb8u20kt8AzX\nQAOfRih6e0JL+zyJXNEl3Gvskfs4YTLQDmxq1h2/EjwataQS+NCbHHSO5Mmk\n/Dv0OIoa97ox9lCKeGVMpoUvEA1rFD5jmEtQ00BU2JbygiDbylHecntIpR8p\ntf2n4BPMORB7ibA8hvJ/FLabgWg8/+njDvH3zekP1R0CevqvqO1p9mCIzp06\nEO7x7FGJCCVSieEYwJZChEYgRabGGFmLT+m13jlQ7/k6Ekn+rWKnhMXSTUlh\nBqVk2vwFFVlqYeAJlDFRMfqBes4VxW5jYPbjpGG996HjOWCZLjZi5LpzaUUy\nqXOlrQsELXXhhJFo3V3zVPKSZIGSS+++ezVdzaznFgvvOCUvGFF43yLpenuz\ngQb7GoLRConvvH03dNoIG3hNms7bDvJUIZwvAZYB0sR4Rv9+cYJcBQybYLsj\nuhdVSVBn2Emuh1oxDgW/heLIWBIH7vvWdxnIApw3TwPmycyr0sjeCE78XfXH\nvXWij4KKcY7clL0081KxrJ3mb6ll96f6rQBlj1gV4BbB8G+a9aEpc4KifzeE\nnseu\r\n=7gJO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCazWkSbmtzKs2Yq4CjtZpbD8jlQu9JjYhshWCN/xZRmQIhAMUjfGHG6MpZI/ofLs2fT5eCqVl6XTVVEdkBBk+cYFYp"}]},"_npmUser":{"name":"nischithbm","email":"nischithbm@gmail.com"},"directories":{},"maintainers":[{"name":"nischithbm","email":"nischithbm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micro-dash_0.12.0_1606548905258_0.6360968412799219"},"_hasShrinkwrap":false},"0.13.0":{"name":"@micro-ux/micro-dash","version":"0.13.0","repository":{"type":"git","url":"git@github.com:micro-ux/micro-dash.git"},"author":{"name":"Nischith BM","email":"nischithbm@gmail.com"},"license":"MIT","main":"index.js","types":"index.d.ts","dependencies":{},"devDependencies":{},"engines":{"node":">=10.13.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"description":"micro-dash offers a subset of lodash of the functionality found in [lodash](https://github.com/lodash/lodash) + additional useful utilities","_id":"@micro-ux/micro-dash@0.13.0","dist":{"shasum":"47a25f1949bc82a94281317b3dc48248b32ffbc4","integrity":"sha512-yXC/07f9TF5vHF+0z9i92xIbZqzdPKACEeEGgRZhOglpm7nX6BLoDvS4qkTF2bAMVQuTfQ4kP255hUfqpLuqag==","tarball":"https://registry.npmjs.org/@micro-ux/micro-dash/-/micro-dash-0.13.0.tgz","fileCount":28,"unpackedSize":15635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfwf7rCRA9TVsSAnZWagAAdtUQAITE/2bu09vICsDEGgkv\nouAV9nYlpGQkvIpgGTITEeMSgHU5ny0ranngtfXnpdEztyR5vPvlMbILgd7B\nJuZHTIDd0I3UIO8UVTBtXf4bqQUj6TEue+i+MQFa9mDIFIOG1nkcIqu3XAon\njugaDnWnp8v95WZ0Rwcm4VkOda7wKhHo7qnzVPCO/IYwc1Cu9L3CAPGsKlCl\noARU5juC7/tMcZ0VAOYdziOAie+41pQMaFrI3OHNs7iI2lg5ZBRJ9gxvzk2+\nK3NZZXuv2QOFTJTD2FSVHqGERrbYxxdkMjPIjA9Qug4pb9gZVnjCfH7hhAab\nRP9v1ueGSFpFng3fjag+mbPA6phtSrzsd+4C9RMbj4EXH7FnSSn2rFvSFLXr\n01vYOz4Ey6awZh1zYakCqdhY2E5i4EpsGjf/q+0mKUsgcI+jkMlK83jzYNGA\neYAVHN72Kt7xRptPFb6UDu2Jerj/5CI41U0VTbaG+JyxzEDHCCSm99OsKoFG\nQ6gNuxScs6iIv0Bd5LsubvOC48Tsi4abH6qeng5wTlM03rfQ0HVU05KrihS8\nxr7IeB9hUzLMk6pO6WHpQ+bJYdStueHbcmupLR7rmMXap71UD6mx84rLsg44\nVIdYo52GSoP8+PcRA9J8Tvrxw3BkXlHJcduMqFPFVQMdXUSbhyZ/b/SIPcoh\n5VcP\r\n=e8iJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIzkmsnDIl/BUJc5Ci5CE7BkrTKprhz8wOeKCoD4fVIQIhAI2Z5wnKXwDoBH93SFSxdgwbEtMFrpjop1e5zHYRsaLA"}]},"_npmUser":{"name":"nischithbm","email":"nischithbm@gmail.com"},"directories":{},"maintainers":[{"name":"nischithbm","email":"nischithbm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micro-dash_0.13.0_1606549227017_0.2514428754572555"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-31T19:04:31.715Z","0.0.1-canary-1":"2020-10-31T19:04:32.093Z","modified":"2022-04-06T05:22:38.419Z","0.0.1-canary-2":"2020-10-31T21:58:21.597Z","0.0.1":"2020-10-31T22:06:16.135Z","0.0.2":"2020-10-31T22:07:58.213Z","0.0.3":"2020-10-31T22:15:06.915Z","0.0.4":"2020-10-31T22:26:08.985Z","0.0.8":"2020-11-01T15:20:54.827Z","0.0.8-canary-1":"2020-11-01T15:31:28.583Z","0.0.8-canary-2":"2020-11-01T15:36:05.653Z","0.0.8-canary-3":"2020-11-01T15:37:47.568Z","0.0.8-canary-4":"2020-11-01T15:43:44.416Z","0.0.9":"2020-11-01T16:02:28.942Z","0.0.10":"2020-11-01T20:04:26.429Z","0.0.11":"2020-11-02T16:34:12.032Z","0.12.0":"2020-11-28T07:35:05.440Z","0.13.0":"2020-11-28T07:40:27.337Z"},"maintainers":[{"name":"nischithbm","email":"nischithbm@gmail.com"}],"repository":{"type":"git","url":"git@github.com:micro-ux/micro-dash.git"},"author":{"name":"Nischith BM","email":"nischithbm@gmail.com"},"license":"MIT","readme":"# micro-dash &middot; [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/micro-ux/micro-dash/blob/main/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/micro-ux/micro-dash) [![npm version](https://img.shields.io/npm/v/@micro-ux/micro-dash.svg?style=flat)](https://www.npmjs.com/package/@micro-ux/micro-dash)\n\nmicro-dash offers a subset of lodash of the functionality found in [lodash](https://github.com/lodash/lodash) + additional useful utilities\n\n**Note**: This is still work in progress\n\nIt is essentially a re-write of [lodash](https://github.com/lodash/lodash) (many things copied as is to keep the functionality intact) in an attempt to create a micro version of lodash that leverage on modern browser capabilities to make it more lightweight. This would also mean lesser/no support for legacy browsers.\n\n## Web optimized modules for individual methods\n\nEach of the methods below are exported as an individual npm module (optimized for web). However, if you are planning to use this library in NodeJS environment you should be using the main @micro-ui/micro-dash library (optimized for node) instead. See section below for more details.\n\n| Category | Method            | Installation                                      | Npm Module                                                                                                                                                                 |\n| -------- | ----------------- | ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Object   | isNull            | `yarn add @micro-ux/micro-dash.isnull`            | [![npm version](https://img.shields.io/npm/v/@micro-ux/micro-dash.isnull.svg?style=flat)](https://www.npmjs.com/package/@micro-ux/micro-dash.isnull)                       |\n| Object   | isUndefined       | `yarn add @micro-ux/micro-dash.isundefined`       | [![npm version](https://img.shields.io/npm/v/@micro-ux/micro-dash.isundefined.svg?style=flat)](https://www.npmjs.com/package/@micro-ux/micro-dash.isundefined)             |\n| Object   | isUndefinedOrNull | `yarn add @micro-ux/micro-dash.isundefinedornull` | [![npm version](https://img.shields.io/npm/v/@micro-ux/micro-dash.isundefinedornull.svg?style=flat)](https://www.npmjs.com/package/@micro-ux/micro-dash.isundefinedornull) |\n| String   | toLowerCase       | `yarn add @micro-ux/micro-dash.tolowercase`       | [![npm version](https://img.shields.io/npm/v/@micro-ux/micro-dash.tolowercase.svg?style=flat)](https://www.npmjs.com/package/@micro-ux/micro-dash.tolowercase)             |\n| String   | toUpperCase       | `yarn add @micro-ux/micro-dash.touppercase`       | [![npm version](https://img.shields.io/npm/v/@micro-ux/micro-dash.touppercase.svg?style=flat)](https://www.npmjs.com/package/@micro-ux/micro-dash.touppercase)             |\n\n**Note** Implementation of other methods is still in progress\n\n### Example usage\n\n```\nimport toLowerCase from '@micro-ux/micro-dash.tolowercase';\n\ntoLowerCase('Foo Bar');\n```\n\n## Node optimized module - complete library\n\nIf you are planning to use this library in NodeJS env you can use the main @micro-ui/micro-dash library (optimized for node).\n\n### Installation\n\n`yarn add @micro-ux/micro-dash`\n\n### Example usage\n\n```\nconst { toLowerCase } = require('@micro-ux/micro-dash')\n\ntoLowerCase('Foo Bar');\n```\n\n## Comparision with Lodash\n\n<table>\n  <tr>\n    <th>Category</th>\n    <th>Method</th>\n    <th>Functionality</th>\n    <th>Bundle size (min + gzip)</th>\n    <th>Performance</th>\n  </tr>\n  <tr>\n    <td>String</td>\n    <td>toLowerCase</td>\n    <td>Same as lodash</td>\n    <td>\n      <b>micro-dash</b>: <a href=\"https://bundlephobia.com/result?p=@micro-ux/micro-dash.tolowercase\" target=\"_blank\">426B</a><br />\n      <b>lodash</b>: <a href=\"https://bundlephobia.com/result?p=lodash.tolower\" target=\"_blank\">447B</a>\n    </td>\n    <td>\n      <a href=\"https://github.com/micro-ux/micro-dash-performance\" target=\"_blank\">Performance Benchmarking</a>\n    </td>\n  </tr>\n  <tr>\n    <td>String</td>\n    <td>toUpperCase</td>\n    <td>Same as lodash</td>\n    <td>\n      <b>micro-dash</b>: <a href=\"https://bundlephobia.com/result?p=@micro-ux/micro-dash.touppercase\" target=\"_blank\">426B</a><br />\n      <b>lodash</b>: <a href=\"https://bundlephobia.com/result?p=lodash.toupper\" target=\"_blank\">440B</a>\n    </td>\n    <td>\n      <a href=\"https://github.com/micro-ux/micro-dash-performance\" target=\"_blank\">Performance Benchmarking</a>\n    </td>\n  </tr>\n</table>\n\n## Will not implement the following methods\n\nmicro-dash will not implement certain methods from lodash to keep the library simple & lightweight.\n\n| Category | Lodash Method | Rationale |\n| -------- | ------------- | --------- |\n| String   | \\_.lowerCase  | TBD       |\n| String   | \\_.upperCase  | TBD       |\n\n## Contributing\n\n### Local setup\n\n- Requirements\n  - Node version >= 10.13.0 [webpack 5 requires at least Node.js 10.13.0 (LTS)](https://github.com/webpack/webpack/blob/v5.0.0/package.json#L106-L108)\n  - install `yarn`\n- Steps\n  - clone the repo\n  - install node dependencies `cd micro-dash` `yarn install`\n\n### Unit Testing\n\n- Run test cases with the command `yarn test `\n- Run specific test cases with `--testPathPattern` flag. Ex: `yarn test --testPathPattern=src/isNull`\n\n## Special Thanks to\n\n- [lodash](https://github.com/lodash/lodash)\n- [You Dont Need Lodash Underscore](https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore)\n- [bundlephobia.com](https://bundlephobia.com)\n","readmeFilename":"README.md","description":"micro-dash offers a subset of lodash of the functionality found in [lodash](https://github.com/lodash/lodash) + additional useful utilities"}