{"_id":"@bchar/b-to-c","_rev":"14-02301e46e0ada1d351931c4822fae332","name":"@bchar/b-to-c","dist-tags":{"latest":"0.2.3"},"versions":{"0.0.4":{"name":"@bchar/b-to-c","version":"0.0.4","description":"An extended transformation library","author":{"name":"Brandon Chartier"},"main":"index.js","license":"MIT","keywords":[],"scripts":{"test":"istanbul cover tape test/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/abstract-tools/b-to-c.git"},"bugs":{"url":"https://github.com/abstract-tools/b-to-c/issues"},"homepage":"https://github.com/abstract-tools/b-to-c#readme","dependencies":{"@bchar/a-to-b":"0.0.4"},"devDependencies":{"istanbul":"0.4.5","tape":"4.9.0"},"gitHead":"6be2eed6694c1e57c76c90c86436cc5dd5979fd8","_id":"@bchar/b-to-c@0.0.4","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"brandonchartier","email":"brandon.chartier@gmail.com"},"dist":{"integrity":"sha512-MFRLDwOkRjfghrJA28tpuXddvsh1BTMz2gmt+NLmfc24u2dcvmm/74JLd5JhiiVyyA3GV1UA654h6QvsYnmCpw==","shasum":"9716e6a5f039484bda423d1c04698fd9a05f9768","tarball":"https://registry.npmjs.org/@bchar/b-to-c/-/b-to-c-0.0.4.tgz","fileCount":103,"unpackedSize":28056,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChBCRS+4XLzUv+wGeLNtaJe3VAZKyoXnNtE7rJuxQk8gIhAIZDbFDG7gGOACDALjHUs0nJjmBIzbimrueiTX3yCWzZ"}]},"maintainers":[{"name":"brandonchartier","email":"brandon.chartier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b-to-c_0.0.4_1520396009393_0.7088982065596781"},"_hasShrinkwrap":false,"deprecated":"please refer to the foreword package for updates"},"0.0.5":{"name":"@bchar/b-to-c","version":"0.0.5","description":"An extended transformation library","author":{"name":"Brandon Chartier"},"main":"index.js","license":"MIT","keywords":[],"scripts":{"test":"istanbul cover tape test/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/abstract-tools/b-to-c.git"},"bugs":{"url":"https://github.com/abstract-tools/b-to-c/issues"},"homepage":"https://github.com/abstract-tools/b-to-c#readme","dependencies":{"@bchar/a-to-b":"0.0.5"},"devDependencies":{"istanbul":"0.4.5","tape":"4.9.0"},"gitHead":"eadb715bb68a33adec21645fd95460021967cccb","_id":"@bchar/b-to-c@0.0.5","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"brandonchartier","email":"brandon.chartier@gmail.com"},"dist":{"integrity":"sha512-3eO0ouTdq5jpAmkDsJvgP0YhThe5rIlgOu2Wq3hE9BSyxAyHFPQHB/6SAGb9Xh+IXY072RUCxEk8WFaJYTPGGA==","shasum":"2a3b0094cecaea3333b03f68b87885f1fd20f347","tarball":"https://registry.npmjs.org/@bchar/b-to-c/-/b-to-c-0.0.5.tgz","fileCount":103,"unpackedSize":31139,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNVhlv+9+1I/oVGWV47rSMuni6L3urhOQOXCN44DGebgIhAMbjSST5qB36rONT+h8tS1Cir+46E4JT56cAhNbHaYhS"}]},"maintainers":[{"name":"brandonchartier","email":"brandon.chartier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b-to-c_0.0.5_1520446451255_0.6740916827152881"},"_hasShrinkwrap":false,"deprecated":"please refer to the foreword package for updates"},"0.0.6":{"name":"@bchar/b-to-c","version":"0.0.6","description":"An extended transformation library","author":{"name":"Brandon Chartier"},"main":"index.js","license":"MIT","keywords":[],"scripts":{"test":"istanbul cover tape test/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/abstract-tools/b-to-c.git"},"bugs":{"url":"https://github.com/abstract-tools/b-to-c/issues"},"homepage":"https://github.com/abstract-tools/b-to-c#readme","dependencies":{"@bchar/a-to-b":"0.0.6"},"devDependencies":{"istanbul":"0.4.5","tape":"4.9.0"},"gitHead":"1797bf568a90aa00fd5ffd35a98e472d020bcea4","_id":"@bchar/b-to-c@0.0.6","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"brandonchartier","email":"brandon.chartier@gmail.com"},"dist":{"integrity":"sha512-93/Lm8w4kqWiUwvAmBwcpkWDGAgBiWYBeg4LYTlivYItDfB3DjnndOPY1oJN2u0qcpll/s6EfCHbmuAr7stO+g==","shasum":"6e316091a7a95490db4d187dd72a56fd93b54625","tarball":"https://registry.npmjs.org/@bchar/b-to-c/-/b-to-c-0.0.6.tgz","fileCount":105,"unpackedSize":31385,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF7NvvuVchuKBPHpZ2x7/v20YF17vdaN4pImOs0PpysTAiBuzTiFdoppjQfcxYUaqrql/z+Mdzqbq/GHobg0nyu8kw=="}]},"maintainers":[{"name":"brandonchartier","email":"brandon.chartier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b-to-c_0.0.6_1520469004536_0.08322289150443818"},"_hasShrinkwrap":false,"deprecated":"please refer to the foreword package for updates"},"0.0.7":{"name":"@bchar/b-to-c","version":"0.0.7","description":"An extended transformation library","author":{"name":"Brandon Chartier"},"main":"index.js","license":"MIT","keywords":[],"scripts":{"test":"istanbul cover tape test/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/abstract-tools/b-to-c.git"},"bugs":{"url":"https://github.com/abstract-tools/b-to-c/issues"},"homepage":"https://github.com/abstract-tools/b-to-c#readme","dependencies":{"@bchar/a-to-b":"0.0.7"},"devDependencies":{"istanbul":"0.4.5","tape":"4.9.0"},"gitHead":"353660f28fd2526fae3516e51607fe9bdab1b6a3","_id":"@bchar/b-to-c@0.0.7","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"brandonchartier","email":"brandon.chartier@gmail.com"},"dist":{"integrity":"sha512-EcCCqF7Owl6y6ZpC9ghcI/A7ni79EsjdHHRSKCNfAsqK7yspySCn0WysPQx5EF4OwYKF1frD7lw2lpFDvw57pA==","shasum":"5fc8afd38327239a1ed00a153b403ff595ae13ad","tarball":"https://registry.npmjs.org/@bchar/b-to-c/-/b-to-c-0.0.7.tgz","fileCount":105,"unpackedSize":31396,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG7uBqFG53IDgoadEhvHJFam1fmihFNhbk121v9Jtx0mAiEA2GnMDVL0BMAt3FCXX90ef46v87cfRz4lmU0bXsVC0zA="}]},"maintainers":[{"name":"brandonchartier","email":"brandon.chartier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b-to-c_0.0.7_1520503416052_0.772670125640736"},"_hasShrinkwrap":false,"deprecated":"please refer to the foreword package for updates"},"0.0.8":{"name":"@bchar/b-to-c","version":"0.0.8","description":"An extended transformation library","author":{"name":"Brandon Chartier"},"main":"index.js","license":"MIT","keywords":[],"scripts":{"test":"istanbul cover tape test/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/abstract-tools/b-to-c.git"},"bugs":{"url":"https://github.com/abstract-tools/b-to-c/issues"},"homepage":"https://github.com/abstract-tools/b-to-c#readme","dependencies":{"@bchar/a-to-b":"0.0.7"},"devDependencies":{"istanbul":"0.4.5","tape":"4.9.0"},"gitHead":"540f70b9bb7bb1928a739fe9d802f5cc6ec2566d","_id":"@bchar/b-to-c@0.0.8","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"brandonchartier","email":"brandon.chartier@gmail.com"},"dist":{"integrity":"sha512-1T+xYA4LIpXqPDf+T9aVCGWkcn4DcfE5VTe/rV74Kujwi+0mKm4Wh+ukkvXn0A0VRWXjI5VHLpmbx7H80T+RdQ==","shasum":"48d11e280b84633c07b9b0a3131951105d13cf62","tarball":"https://registry.npmjs.org/@bchar/b-to-c/-/b-to-c-0.0.8.tgz","fileCount":109,"unpackedSize":32968,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQDk4sC2TChcTYxcaMyQeradEdKWvjrHNCsRZB18i1zCHAIfees0HpnMREyysqrWr+/AmzKQsiFI9kdiBEw1lCWfTQ=="}]},"maintainers":[{"name":"brandonchartier","email":"brandon.chartier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b-to-c_0.0.8_1520617476390_0.41975551078344897"},"_hasShrinkwrap":false,"deprecated":"please refer to the foreword package for updates"},"0.1.0":{"name":"@bchar/b-to-c","version":"0.1.0","description":"An extended transformation library","author":{"name":"Brandon Chartier"},"main":"index.js","license":"MIT","keywords":[],"scripts":{"test":"istanbul cover tape test/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/abstract-tools/b-to-c.git"},"bugs":{"url":"https://github.com/abstract-tools/b-to-c/issues"},"homepage":"https://github.com/abstract-tools/b-to-c#readme","dependencies":{"@bchar/a-to-b":"0.1.0"},"devDependencies":{"istanbul":"0.4.5","tape":"4.9.0"},"gitHead":"9892d64266b367a5c1383a5e6b90a4a6f9cb8bea","_id":"@bchar/b-to-c@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"brandonchartier","email":"brandon.chartier@gmail.com"},"dist":{"integrity":"sha512-lFQEJrqD5Lw3s6B0cN2s6HAitcsidV3QEB0ToIBHGYZ6L/+ML3WctRPDrBRp/TcD+O9GzIX21VyEEV/krSZqXQ==","shasum":"377864c1ee86e15cf5a382b7189ec66187188c4f","tarball":"https://registry.npmjs.org/@bchar/b-to-c/-/b-to-c-0.1.0.tgz","fileCount":110,"unpackedSize":33193,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDPAAYamb0LPTg/CZ7kXSDdISfR9lPPB8Jeqzd2AGREqAiA4cbSe9Sd5b5sWVGmb6FRW+LuRYSpCAHI24HYYnvskMQ=="}]},"maintainers":[{"name":"brandonchartier","email":"brandon.chartier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b-to-c_0.1.0_1520886714003_0.6317167816423401"},"_hasShrinkwrap":false,"deprecated":"please refer to the foreword package for updates"},"0.1.1":{"name":"@bchar/b-to-c","version":"0.1.1","description":"An extended library for data transformation","author":{"name":"Brandon Chartier"},"main":"index.js","license":"MIT","keywords":[],"scripts":{"test":"istanbul cover tape test/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/abstract-tools/b-to-c.git"},"bugs":{"url":"https://github.com/abstract-tools/b-to-c/issues"},"homepage":"https://github.com/abstract-tools/b-to-c#readme","dependencies":{"@bchar/a-to-b":"0.1.1"},"devDependencies":{"istanbul":"0.4.5","tape":"4.9.0"},"gitHead":"ed6a2cbfe3237a7c67d6b4238a9e1119d386762e","_id":"@bchar/b-to-c@0.1.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"brandonchartier","email":"brandon.chartier@gmail.com"},"dist":{"integrity":"sha512-RaI5hcz2f5Nq5gjghzZy9UVSha45SAAsrNO/sJ0MhYFsKH6rPJzkP2fb98ulMHbmK7y2oQI49V52i1rReOHwtw==","shasum":"f90722e4b8ecd9b13d315816b54997dc59ab0be4","tarball":"https://registry.npmjs.org/@bchar/b-to-c/-/b-to-c-0.1.1.tgz","fileCount":110,"unpackedSize":33203,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE8gENAOFJQtiHlsQtxdYacsQtGg27hJRmM3ZyyVHTMYAiEAqNft59tOXnqtNZba1c5/K+PLGjwvLQfl6r7r8ze4M+Y="}]},"maintainers":[{"name":"brandonchartier","email":"brandon.chartier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b-to-c_0.1.1_1520959653635_0.3021440098387289"},"_hasShrinkwrap":false,"deprecated":"please refer to the foreword package for updates"},"0.2.0":{"name":"@bchar/b-to-c","version":"0.2.0","description":"An extended library for data transformation","author":{"name":"Brandon Chartier"},"main":"index.js","license":"MIT","keywords":[],"scripts":{"test":"istanbul cover tape test/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/abstract-tools/b-to-c.git"},"bugs":{"url":"https://github.com/abstract-tools/b-to-c/issues"},"homepage":"https://github.com/abstract-tools/b-to-c#readme","dependencies":{"@bchar/a-to-b":"0.2.0"},"devDependencies":{"istanbul":"0.4.5","tape":"4.9.0"},"gitHead":"bfe2d4da0cd0c43634945054dea88ee587c02884","_id":"@bchar/b-to-c@0.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"brandonchartier","email":"brandon.chartier@gmail.com"},"dist":{"integrity":"sha512-F0bnb3IRh8TkTZecr87eZ9kc24xPqkC/feVD5iD+xkI943NAL2yJ+QKIu7IPsqTBLh+OpXZdRo06NqKBpIh4ug==","shasum":"4f29f94c721cbb8a64a5ea8d6a2304abf6aef5d6","tarball":"https://registry.npmjs.org/@bchar/b-to-c/-/b-to-c-0.2.0.tgz","fileCount":109,"unpackedSize":33385,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHRGoEsZTGdCylSctYAHa1B/PGnMOb/hYyP3lr4HOMqsAiB6ZJSmV80zf4DfqvFmZr3aryoR588J4mENJU69L5pmlg=="}]},"maintainers":[{"name":"brandonchartier","email":"brandon.chartier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b-to-c_0.2.0_1521004889036_0.002624891908700855"},"_hasShrinkwrap":false,"deprecated":"please refer to the foreword package for updates"},"0.2.1":{"name":"@bchar/b-to-c","version":"0.2.1","description":"An extended library for data transformation","author":{"name":"Brandon Chartier"},"main":"index.js","license":"MIT","keywords":[],"scripts":{"test":"istanbul cover tape test/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/abstract-tools/b-to-c.git"},"bugs":{"url":"https://github.com/abstract-tools/b-to-c/issues"},"homepage":"https://github.com/abstract-tools/b-to-c#readme","dependencies":{"@bchar/a-to-b":"0.2.0"},"devDependencies":{"istanbul":"0.4.5","tape":"4.9.0"},"gitHead":"954e3c2307f548390e2dc83bd8088ded8d8cd8d1","_id":"@bchar/b-to-c@0.2.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"brandonchartier","email":"brandon.chartier@gmail.com"},"dist":{"integrity":"sha512-aBrjjYSlaA87wqsSyiOuKt0kOTLQMzxm2iL93AQtCyIEDUFMB3VyZo0PFzExZmC1/FH67gBMxEAq8P16pPi0Xw==","shasum":"5d423cfc08aeec1542a82fcb5d8ca5258e2600af","tarball":"https://registry.npmjs.org/@bchar/b-to-c/-/b-to-c-0.2.1.tgz","fileCount":105,"unpackedSize":32787,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsR51S7y+iOTG+n0o6FJ+Fa2EpdImpkpKt+Ee+CbQdiwIhANVTYUI+JcQLzymWe9RQSZ5hA0MtMaltQwHOvXIJHIK9"}]},"maintainers":[{"name":"brandonchartier","email":"brandon.chartier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b-to-c_0.2.1_1521038276572_0.07702240511808789"},"_hasShrinkwrap":false,"deprecated":"please refer to the foreword package for updates"},"0.2.2":{"name":"@bchar/b-to-c","version":"0.2.2","description":"An extended library for data transformation","author":{"name":"Brandon Chartier"},"main":"index.js","license":"MIT","keywords":[],"scripts":{"test":"istanbul cover tape test/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/abstract-tools/b-to-c.git"},"bugs":{"url":"https://github.com/abstract-tools/b-to-c/issues"},"homepage":"https://github.com/abstract-tools/b-to-c#readme","dependencies":{"@bchar/a-to-b":"0.2.2"},"devDependencies":{"istanbul":"0.4.5","tape":"4.9.0"},"gitHead":"3fac51f5bd7634740b558fa128b3e7a0d3959bde","_id":"@bchar/b-to-c@0.2.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"brandonchartier","email":"brandon.chartier@gmail.com"},"dist":{"integrity":"sha512-JKkyXTwhyNzmSanP2un7YIL13ITjSGQ7JF1FJkuzekNbUh9JrldYARBch1R63TXC+RFGEsy5GIbT8X9C9IfNRQ==","shasum":"710c3b43c2a565a1ec3faca973c70bf3f1ca9a78","tarball":"https://registry.npmjs.org/@bchar/b-to-c/-/b-to-c-0.2.2.tgz","fileCount":97,"unpackedSize":33017,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4nwPNj4ZKBULAM/WdF7eCLTXaQ4e3JqMeXuTPSD9bvAIgUmwiWwddxCPct4Cf75iLs6WC4VrA4VMA5W74LKaEHAg="}]},"maintainers":[{"name":"brandonchartier","email":"brandon.chartier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b-to-c_0.2.2_1521044592679_0.8685967547171647"},"_hasShrinkwrap":false,"deprecated":"please refer to the foreword package for updates"},"0.2.3":{"name":"@bchar/b-to-c","version":"0.2.3","description":"An extended library for data transformation","author":{"name":"Brandon Chartier"},"main":"index.js","license":"MIT","keywords":[],"scripts":{"test":"istanbul cover tape test/**/*.js"},"repository":{"type":"git","url":"git+https://github.com/abstract-tools/b-to-c.git"},"bugs":{"url":"https://github.com/abstract-tools/b-to-c/issues"},"homepage":"https://github.com/abstract-tools/b-to-c#readme","dependencies":{"@bchar/a-to-b":"0.2.3"},"devDependencies":{"istanbul":"0.4.5","tape":"4.9.0"},"gitHead":"1a282bde3215d558aff22d39fdb409654e265161","_id":"@bchar/b-to-c@0.2.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"brandonchartier","email":"brandon.chartier@gmail.com"},"dist":{"integrity":"sha512-C92/6bKsGMbrT7AeEJsOW6lKzS1uiVwF2D/cHMFVf9DAL4KYAvub5NqWz53q2Ml+Q1Gsiapu4Gzbr3R05pPqQg==","shasum":"c0984778bf086c87c4a892515c6a6182056e1ad7","tarball":"https://registry.npmjs.org/@bchar/b-to-c/-/b-to-c-0.2.3.tgz","fileCount":97,"unpackedSize":32839,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFTPiNh9lFEzwiGOxCyn+1U+0cIFHAinlO2CAVRns5SMAiEAtI9bJokF02NTY09XUFZmh4lxV+T8gzwqN8eQv+EnxW0="}]},"maintainers":[{"name":"brandonchartier","email":"brandon.chartier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b-to-c_0.2.3_1521060220441_0.9377138495678654"},"_hasShrinkwrap":false,"deprecated":"please refer to the foreword package for updates"}},"time":{"created":"2018-03-07T04:13:29.315Z","0.0.4":"2018-03-07T04:13:29.493Z","modified":"2022-04-04T18:01:51.610Z","0.0.5":"2018-03-07T18:14:11.323Z","0.0.6":"2018-03-08T00:30:04.597Z","0.0.7":"2018-03-08T10:03:36.099Z","0.0.8":"2018-03-09T17:44:36.468Z","0.1.0":"2018-03-12T20:31:55.256Z","0.1.1":"2018-03-13T16:47:33.716Z","0.2.0":"2018-03-14T05:21:29.098Z","0.2.1":"2018-03-14T14:37:56.734Z","0.2.2":"2018-03-14T16:23:12.789Z","0.2.3":"2018-03-14T20:43:40.525Z"},"maintainers":[{"name":"brandonchartier","email":"brandon.chartier@gmail.com"}],"description":"An extended library for data transformation","homepage":"https://github.com/abstract-tools/b-to-c#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/abstract-tools/b-to-c.git"},"author":{"name":"Brandon Chartier"},"bugs":{"url":"https://github.com/abstract-tools/b-to-c/issues"},"license":"MIT","readme":"# (b -> c)\nAn extended library for data transformation. Includes all functions from (a -> b).\n`npm install @bchar/b-to-c`\n\n## Array\n```javascript\nconst A = require('@bchar/b-to-c/array')\n```\n\n### compact :: Array a -> Array a\nReturns an array of only truthy values.\n```javascript\n> A.compact([0, 1, true, false, 'hey', null])\n[ 1, true, 'hey' ]\n```\n\n### difference :: Array a -> Array a -> Array a\nReturns an array with the elements present in the first that are not in the second.\n```javascript\n> A.difference([1, 2, 3], [1])\n[ 2, 3 ]\n```\n\n### dropWhile :: (a -> Boolean) -> Array a -> Array a\nDrops the first items of an array which match the predicate.\n```javascript\n> A.dropWhile(N.isEven, [2, 4, 5, 6])\n[ 5, 6 ]\n```\n\n### flatten :: Array a -> Array a\nRecursively flattens an array of arrays.\n```javascript\n> A.flatten([1, [[2], 3], [4, [[5]]]])\n[ 1, 2, 3, 4, 5 ]\n```\n\n### groupBy :: (a -> b) -> Array a -> Object k (Array a)\nReturns an object with keys as the result of applying a function to elements, and the value is an array of every matched element.\n```javascript\n> A.groupBy(Math.floor, [4.2, 6.1, 6.4])\n{ '4': [ 4.2 ], '6':  [ 6.1, 6.4 ] }\n```\n\n### init :: Array a -> Array a\nReturns every element except the last.\n```javascript\n> A.init([1, 2, 3, 4, 5])\n[ 1, 2, 3, 4 ]\n```\n\n### intersection :: Array a -> Array a -> Array a\nReturns an array containing elements present in both arrays.\n```javascript\n> A.intersection([1, 2, 3], [2, 3, 4, 5])\n[ 2, 3 ]\n```\n\n### last :: Array a -> Maybe a\nReturns the last element in an array.\n```javascript\n> A.last([1, 2, 3, 4, 5])\n5\n\n> A.last([])\nundefined\n```\n\n### maxBy :: (a -> b) -> Array a -> Maybe a\nReturns the highest value element in an array.\n```javascript\n> A.maxBy(S.length, ['bc', 'abc', 'a', 'b'])\n'abc'\n```\n\n\n### mean :: Array Number -> Maybe Number\nReturns the mean of the elements in an array.\n```javascript\n> A.mean([1, 2, 3, 4, 5])\n3\n```\n\n### minBy :: (a -> b) -> Array a -> Maybe a\nReturns the lowest value element in an array after applying a function to the element.\n```javascript\n> A.minBy(S.length, ['bc', 'abc', 'a', 'b'])\n'a'\n```\n\n### partition :: (a -> Boolean) -> Array a -> Array (a, a)\nEquivalent to `[filter(f, arr), reject(f, arr)]`.\n```javascript\n> A.partition(N.isEven, [1, 2, 3, 4, 5])\n[ [ 2, 4 ], [ 1, 3, 5 ] ]\n```\n\n### product :: Array Number -> Number\nReturns the product of the elements in an array.\n```javascript\n> A.product([1, 2, 3])\n6\n```\n\n### reject :: (a -> Boolean) -> Array a -> Array a\nReturns an array of all elements that do not match the predicate.\n```javascript\n> A.reject(N.isEven, [1, 2, 3, 4, 5])\n[ 1, 3, 5 ]\n```\n\n### scan :: (a -> b -> b) -> b -> Array a -> Array b\nLike `reduce`, but returns a list with the initial value, the intermediate values, and the final value.\n```javascript\n> A.scan(N.add, 0, [1, 2, 3])\n[ 0, 1, 3, 6 ]\n```\n\n### sortBy :: (a -> b) -> Array a -> Array a\nSort an array by applying a function to elements.\n```javascript\n> A.sortBy(S.length, ['abc', 'a', 'ab'])\n[ 'a', 'ab', 'abc' ]\n\n> A.sortBy(O.get('name'), [{ name: 'bob'}, { name: 'alice' }, { name: 'charlie' }])\n[ { name: 'alice' }, { name: 'bob' }, { name: 'charlie' } ]\n```\n\n### span :: (a -> Boolean) -> Array a -> Array (a, a)\nEquivalent to `[takeWhile(f, arr), dropWhile(f, arr)]`.\n```javascript\n> A.span(N.isEven, [2, 4, 5, 6])\n[ [ 2, 4 ], [ 5, 6 ] ]\n```\n\n### sum :: Array Number -> Number\nSums up the elements in an array.\n```javascript\n> A.sum([1, 2, 3, 4, 5])\n15\n```\n\n### takeWhile :: (a -> Boolean) -> Array a -> Array a\nReturns the first elements in an array which match the predicate.\n```javascript\n> A.takeWhile(N.isEven, [2, 4, 5, 6])\n[ 2, 4 ]\n```\n\n### union :: Array a -> Array a -> Array a\nReturns an array of unique elements in both arrays.\n```javascript\n> A.union([1, 5, 7], [3, 5])\n[ 1, 5, 7, 3 ]\n```\n\n### uniqueBy :: (a -> b) -> Array a -> Array a\nReturns an array of unique values from the applied function.\n```javascript\n> A.uniqueBy(S.length, ['and', 'here', 'are', 'some', 'words'])\n[ 'and', 'here', 'words' ]\n```\n\n## Function\n```javascript\nconst F = require('@bchar/b-to-c/function')\n```\n\n### ap :: Array (a -> b) -> Array a -> Array b\nApplies a list of functions over a list of values.\n```javascript\n> F.ap([N.mul(2), N.add(3)], [1, 2, 3])\n[ 2, 4, 6, 4, 5, 6 ]\n```\n\n### both :: (a -> Boolean) -> (a -> Boolean) -> a -> Boolean\nApplies a value over two predicate functions, returns the result of an `and` comparison. Short-circuits if the first predicate returns false.\n```javascript\n> const test = F.both(F.gt(10), F.lt(20))\n\n> test(15)\ntrue\n\n> test(30)\nfalse\n```\n\n### cond :: Array (a -> Boolean, a -> b) -> a -> b\nContains predicate and transformer pairs, to determine which transformer to apply over a value.\n```javascript\n> F.cond([\n  [F.lt(1), N.inc],\n  [F.gt(1), N.dec],\n  [F.always(true), F.identity]\n], 10)\n9\n```\n\n### either :: (a -> Boolean) -> (a -> Boolean) -> a -> Boolean\nApplies a value over two predicate functions, returns the result of an `or` comparison. Short-circuits if the first predicate returns true.\n```javascript\n> const test = F.either(F.gt(10), N.isEven)\n\n> test(15)\ntrue\n\n> test(5)\nfalse\n\n> test(4)\ntrue\n```\n\n### on :: (b -> b -> c) -> (a -> b) -> a -> a -> c\nApplies a binary function over a unary function twice.\n```javascript\n> const sameLength = F.on(F.equals, S.length)\n> sameLength('hey', 'now')\ntrue\n```\n\n### when :: (a -> Boolean) -> (a -> b) -> a -> b\nIf the predicate is matched, run a transformer function, otherwise return the original value.\n```javascript\n> F.when(F.lt(10), N.inc, 5)\n6\n```\n\n## Number\n```javascript\nconst N = require('@bchar/b-to-c/number')\n```\n\n### clamp :: Number -> Number -> Number -> Number\nRetricts a number to be within a range.\n```javascript\n> const test = clamp(1, 10);\n> test(0)\n1\n> test(20)\n10\n> test(5)\n5\n```\n\n### dec :: Number -> Number\nDecrements a number.\n```javascript\n> N.dec(10)\n9\n```\n\n### gcd :: Number -> Number -> Number\nGreatest common denominator.\n```javascript\n> N.gcd(12, 18)\n6\n```\n\n### inc :: Number -> Number\nIncrements a number.\n```javascript\n> N.inc(10)\n11\n```\n\n### lcm :: Number -> Number -> Number\nLeast common multiple.\n```javascript\n> N.lcm(12, 18)\n36\n```\n\n### mod :: Number -> Number -> Number\nBehaves like the mathematical modulo operator.\n```javascript\n> N.mod(-20, 3)\n1\n```\n\n### negate :: Number -> Number\nNegated number.\n```javascript\n> N.negate(10)\n-10\n```\n\n### pow :: Number -> Number -> Number\nReturns the power.\n```javascript\n> N.pow(2, -2)\n4\n```\n\n### rem :: Number -> Number -> Number\nReturns the remainder.\n```javascript\n> N.rem(3, -20)\n-2\n```\n\n## Object \n```javascript\nconst O = require('@bchar/b-to-c/object')\n```\n\n### gets :: Array k -> Object k v -> Array (Maybe v)\nReturns an array of values where Object k is found. \n```javascript\n> O.gets(['a', 'b'], { a: 1, b: 2 })\n[ 1, 2 ]\n```\n\n### path :: Array k -> Object k v -> Maybe v\nReturns a value from a nested object path.\n```javascript\n> O.path(['a', 'b', 'c'], {a: {b: {c: 1}}})\n1\n```\n\n### where :: Object k (v -> Boolean) -> Object k v -> Boolean\nReturns whether every key matches the predicate.\n```javascript\n> const test = O.where({\n  a: F.equals('foo'),\n  b: F.not(F.equals('bar')),\n  x: F.gt(10),\n  y: F.lt(20)\n})\n\n> test({ a: 'foo', b: 'baz', x: 15, y: 15 })\ntrue\n\n> test({ a: 'foo', b: 'baz': x: 10, y: 15 })\nfalse\n```\n\n## String\n```javascript\nconst S = require('@bchar/b-to-c/string')\n```\n\n### capitalize :: String -> String\nCapitalize a string.\n```javascript\n> S.capitalize('hello, world!')\n'Hello, world!'\n```\n\n### dropWhile :: (String -> Boolean) -> String -> String\nDrops the first elements of a string that pass the predicate.\n```javascript\n> S.dropWhile(equals('m'), 'mmmhmm')\n'hmm'\n```\n\n### repeat :: Number -> String -> String\nRepeated a string n amount of times.\n```javascript\n> S.repeat(3, 'abc')\n'abcabcabc'\n```\n\n### span :: (String -> Boolean) -> String -> Array (String, String)\nEquivalent to `[takeWhile(f, str), dropWhile(f, str)]`.\n```javascript\n> S.span(F.equals('m'), 'mmmhmm')\n[ 'mmm', 'hmm' ]\n```\n\n### takeWhile :: (String -> Boolean) -> String -> String\nTakes the first elements of a string that pass the predicate.\n```javascript\n> S.takeWhile(F.equals('m'), 'mmmhmm')\n'mmm'\n```\n","readmeFilename":"README.md"}