{"bugs":{"url":"https://github.com/mobily/ts-belt/issues"},"dist":{"shasum":"48e839a1f8aa4ec29fbcad496ccd6db5c0f3f388","tarball":"https://registry.npmjs.org/@mobily/ts-belt/-/ts-belt-2.0.0-rc.0.tgz","fileCount":18,"integrity":"sha512-oZMNfdifg2zLMhCe2kXY+mX4OUe14fCjBh8dmTo0as3UPb+yByzFHDLHQFT5ChyNu2K+EwO4Mo2zMeDcdymo7w==","signatures":[{"sig":"MEUCICP3GadwXcT97de8XQ6gtVzUhc+Be45I0YK/uZEfIwVeAiEAg25xTsYRImuiUPlkJ8HIceyeLK0e9M7fM9jintlErQA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54548,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmCo9CRA9TVsSAnZWagAAnS0P/3mYrWeh4JZsZ5fIbnwZ\nUkPPMcbOT9F6PvJJ4SS2m/umgDPOmTNrjKEQUJX+SZsdLSp35iYV1qzT3wCV\n2iTRCtB2FomWbYgMDyTKpL0fM1GvDqzb02S3u1p4DVjA+QYaK1nwXHg6c+rK\nH30IxSa/LKql9h8952iVvRC4UCO2JYvp5Xab0fDXD3KzzibpY7q7sh0A++3b\nXrI/KJQniNBVgZrgk+KqPOYkhdq+ifIJCC58dBD6Z32ceL3QVQEzaPZf9poC\nd+XA6B0reb3aoj/rwfiQP8Ic8VOqo6OZUL9KUnfpzQ2ERYmghPETHKS99JTC\nT/aF2CznAqYNcXLO4sgMZ4o2nrh6PloqoXxmDfomCU8ebKckoP5J4vVLl049\niQbYp3eCFkfHlSPvoupK+Ifc5HKAGygfXcOtUvoqnId0qDx+53+abrKri4qI\nPKhIiKt2AqUkdn91ARGY41UIYg4W33lVauUjHDR18565rM02NoiYOJc4CgHk\nm9ya6MhQiB6YPoSfR+L+PUvZG9sgM7zx8j9vlYCNNXXqjpalPnKWemZxnqbF\njHIz30/fNRNqdZiX+klmoPS7gf7j8Qwjg85+jf7tu8c/5h73kTCS/ec547kp\nAX2zSnj3Yg9ga+GujHWkJhA/QLugFjzowsxwBAEz1PV98g/yIOlZ/8Z+QQKI\nk6jB\r\n=PyJ4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","name":"@mobily/ts-belt","types":"./dist/types/src/index.d.ts","author":{"name":"Marcin Dziewulski","email":"hello@mobily.pl"},"module":"./dist/index.mjs","readme":"# 🔧 TS Belt &middot; [![Build Status](https://img.shields.io/travis/com/mobily/ts-belt.svg?style=flat-square&logo=travis)](https://travis-ci.com/mobily/ts-belt) [![Coverage](https://img.shields.io/coveralls/github/mobily/ts-belt.svg?style=flat-square&logo=coveralls)](https://coveralls.io/github/mobily/ts-belt?branch=master) [![npm](https://img.shields.io/npm/v/@mobily/ts-belt.svg?style=flat-square&logo=npm)](https://www.npmjs.com/package/@mobily/ts-belt) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/mobily/ts-belt/blob/master/LICENSE)\n\n<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/mobily/ts-belt/master/assets/ts-belt-logo.svg\" width=\"120\" alt=\"TS Belt\" />\n</p>\n\n**TS Belt** is a library for functional programming in TypeScript. It solves the problem of the existence of both `undefined` and `null`. TS Belt is inspired by the [Belt](https://rescript-lang.org/docs/manual/latest/api/belt) module for ReScript/Reason.\n\n## Features\n\n- [lightweight](https://bundlephobia.com/result?p=@mobily/ts-belt), no dependencies\n- type safety, full TypeScript support\n- high tests coverage\n- all functions are [curried](https://medium.com/javascript-scene/curry-and-function-composition-2c208d774983)\n- get rid of `undefined` and `null` values in your project in a convenient, functional way (use either `Option` or `Result`)\n\n## Installation\n\n```shell\nyarn add @mobily/ts-belt\n```\n\nor with `npm`\n\n```shell\nnpm install @mobily/ts-belt --save\n```\n\n## Api Reference\n\nFull documentation is available [here](https://mobily.github.io/ts-belt/).\n\n## Contributors\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table><tr><td align=\"center\"><a href=\"https://twitter.com/__marcin_\"><img src=\"https://avatars1.githubusercontent.com/u/1467712?v=4\" width=\"100px;\" alt=\"Marcin Dziewulski\"/><br /><sub><b>Marcin Dziewulski</b></sub></a><br /><a href=\"https://github.com/mobily/ts-belt/commits?author=mobily\" title=\"Code\">💻</a> <a href=\"https://github.com/mobily/ts-belt/commits?author=mobily\" title=\"Documentation\">📖</a></td></tr></table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n## License\n\nThe MIT License.\n\nSee [LICENSE](LICENSE)\n","engines":{"node":">= 10.*"},"exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"ba61c8953d056e1946d768fb69aef788b85ad177","license":"MIT","scripts":{"test":"yarn jest --coverage","build":"bash ./scripts/build.sh","clean":"rm -rf ./dist && rm -f ./tsconfig.tsbuildinfo","re:dev":"yarn bsb -make-world -w","esbuild":"node esbuild.config.js","re:build":"yarn bsb -make-world","re:clean":"yarn bsb -clean-world","test:watch":"yarn jest --watch","generate:flow":"node ./scripts/generate-flow-files.js","generate:contributors":"yarn all-contributors generate"},"_npmUser":{"name":"mobily","email":"hello@mobily.pl"},"homepage":"https://github.com/mobily/ts-belt#readme","keywords":["typescript","functional-programming","fp","monad","option","option-type","result","result-type","array"],"repository":{"url":"git+https://github.com/mobily/ts-belt.git","type":"git"},"_npmVersion":"7.7.6","description":"🔧 TS Belt is a library for functional programming in TypeScript. It implements Result and Option monads and adds various helpers to deal with arrays. Inspired by Belt for ReScript/Reason.","directories":{},"maintainers":[{"name":"mobily","email":"hello@mobily.pl"}],"sideEffects":false,"_nodeVersion":"15.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsd":"^0.14.0","jest":"^26.6.3","wonka":"^4.0.15","globby":"^11.0.3","esbuild":"^0.11.18","flowgen":"^1.14.1","gentype":"^3.48.0","ts-jest":"^26.5.5","flow-bin":"^0.150.0","prettier":"^2.2.0","coveralls":"^3.1.0","minimatch":"^3.0.4","typescript":"^4.2.4","@types/jest":"^26.0.23","bs-platform":"^9.0.2","jscodeshift":"^0.12.0","all-contributors-cli":"^6.20.0"},"cacheDirectories":["node_modules"],"_npmOperationalInternal":{"tmp":"tmp/ts-belt_2.0.0-rc.0_1620585021409_0.7223175537751014","host":"s3://npm-registry-packages"},"_id":"@mobily/ts-belt@2.0.0-rc.0","version":"2.0.0-rc.0"}