{"name":"parse-function","version":"2.2.0","description":"Parse a function, arrow function or string to object with `name`, `args`, `params` and `body` properties.","repository":{"type":"git","url":"git+https://github.com/tunnckocore/parse-function.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"main":"index.js","license":"MIT","scripts":{"test":"standard && node test.js"},"dependencies":{"define-property":"^0.2.5"},"devDependencies":{"assertit":"^0.1.0","for-in":"^0.1.4"},"files":["index.js"],"keywords":["args","arguments","arrow","arrowfn","body","fn","fns","func","function","name","obj","object","param","paramerters","params","parse","parse-function","parser","prop","string","tostring","util"],"gitHead":"0a42851c89b5f8849542b1d5a638730ba1373418","bugs":{"url":"https://github.com/tunnckocore/parse-function/issues"},"homepage":"https://github.com/tunnckocore/parse-function#readme","_id":"parse-function@2.2.0","_shasum":"a9164d1bc30ef15064b1bf9624c4e1aa2d67fc46","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.5.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"a9164d1bc30ef15064b1bf9624c4e1aa2d67fc46","tarball":"http://registry-npm.ywwl.com/parse-function/download/parse-function-2.2.0.tgz","integrity":"sha512-ytcY+0AJJL/xaQqyjkacAt1klAyuFqIoO7N4TfUBhHHqXF/h7YMx6cjYrVnjF5UpDReLfzTeZAwI96Pqe5fdrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKJn8gaeKfskkTf8nw7G0j89R2Fl01jEHqHcbxcqf9GAIhAIY1Zuuv+0aaFKtz9MRG3hcruCUtuTNjrRu/10I0Scl8"}],"size":4732,"noattachment":false,"key":"/parse-function/-/parse-function-2.2.0.tgz"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"directories":{},"readme":"<p align=\"center\">\n  <img\n    align=\"center\"\n    src=\"https://cdn.jsdelivr.net/emojione/assets/svg/1f54e.svg\"\n    width=\"256\"\n    height=\"256\"\n    alt=\"Parse a function\"\n  />\n</p>\n\n# parse-function [![npm version][npmv-img]][npmv-url] [![License][license-img]][license-url] [![Libera Manifesto][libera-manifesto-img]][libera-manifesto-url]\n\n> Parse a function into an object using espree, acorn or babylon parsers.\n> Extensible through Smart Plugins\n\nPlease consider following this project's author,\n[Charlike Mike Reagent](https://github.com/tunnckoCore), and :star: the project\nto show your :heart: and support.\n\n<div id=\"readme\"></div>\n\n[![Code style][codestyle-img]][codestyle-url]\n[![CircleCI linux build][linuxbuild-img]][linuxbuild-url]\n[![CodeCov coverage status][codecoverage-img]][codecoverage-url]\n[![Renovate App Status][renovateapp-img]][renovateapp-url]\n[![Make A Pull Request][prs-welcome-img]][prs-welcome-url]\n[![Time Since Last Commit][last-commit-img]][last-commit-url]\n\n<!-- [![Semantically Released][standard-release-img]][standard-release-url] -->\n\nIf you have any _how-to_ kind of questions, please read the [Contributing\nGuide][contributing-url] and [Code of Conduct][code_of_conduct-url] documents.\nFor bugs reports and feature requests, [please create an issue][open-issue-url]\nor ping [@tunnckoCore](https://twitter.com/tunnckoCore) at Twitter.\n\n[![Conventional Commits][ccommits-img]][ccommits-url]\n[![Minimum Required Nodejs][nodejs-img]][npmv-url]\n[![NPM Downloads Monthly][downloads-monthly-img]][npmv-url]\n[![NPM Downloads Total][downloads-total-img]][npmv-url]\n[![Share Love Tweet][twitter-share-img]][twitter-share-url]\n[![Twitter][twitter-img]][twitter-url]\n\nProject is [semantically](https://semver.org) versioned & automatically released\nfrom [GitHub Actions](https://github.com/features/actions) with\n[Lerna](https://github.com/lerna/lerna).\n\n[![Become a Patron][patreon-img]][patreon-url]\n[![Buy me a Kofi][kofi-img]][kofi-url]\n[![PayPal Donation][paypal-img]][paypal-url]\n[![Bitcoin Coinbase][bitcoin-img]][bitcoin-url]\n[![Keybase PGP][keybase-img]][keybase-url]\n\n| Topic                                                            |                                           Contact |\n| :--------------------------------------------------------------- | ------------------------------------------------: |\n| Any legal or licensing questions, like private or commerical use |           ![tunnckocore_legal][tunnckocore_legal] |\n| For any critical problems and security reports                   |     ![tunnckocore_security][tunnckocore_security] |\n| Consulting, professional support, personal or team training      | ![tunnckocore_consulting][tunnckocore_consulting] |\n| For any questions about Open Source, partnerships and sponsoring | ![tunnckocore_opensource][tunnckocore_opensource] |\n\n<!-- Logo when needed:\n\n<p align=\"center\">\n  <a href=\"https://github.com/tunnckoCore/opensource\">\n    <img src=\"./media/logo.png\" width=\"85%\">\n  </a>\n</p>\n\n-->\n\n## Features\n\n- **Always up-to-date:** auto-publish new version when new version of dependency\n  is out, [Renovate](https://renovateapp.com)\n- **Standard:** using StandardJS, Prettier, SemVer, Semantic Release and\n  conventional commits\n- **Smart Plugins:** for extending the core API or the end [Result](#result),\n  see [.use](#use) method and [Plugins Architecture](#plugins-architecture)\n- **Extensible:** using plugins for working directly on AST nodes, see the\n  [Plugins Architecture](#plugins-architecture)\n- **ES2020+ Ready:** by using `.parseExpression` method of the Babel `v7.x`\n  parser\n- **Customization:** allows switching the parser, through `options.parse`\n- **Support for:** arrow functions, default parameters, generators and\n  async/await functions\n- **Stable:** battle-tested in production and against all parsers - [espree][],\n  [acorn][], [@babel/parser](https://npmjs.com/packages/@babel/parser)\n- **Tested:** with [450+ tests](./test/index.js) for _200%_ coverage\n\n## Table of Contents\n\n- [Install](#install)\n- [Which version to use?](#which-version-to-use)\n- [Notes](#notes)\n  - [Throws in one specific case](#throws-in-one-specific-case)\n  - [Function named _\"anonymous\"_](#function-named-_anonymous_)\n  - [Real anonymous function](#real-anonymous-function)\n  - [Plugins Architecture](#plugins-architecture)\n- [API](#api)\n  - [parseFunction](#parsefunction)\n  - [.parse](#parse)\n  - [.use](#use)\n  - [.define](#define)\n- [Contributing](#contributing)\n  - [Guides and Community](#guides-and-community)\n  - [Support the project](#support-the-project)\n- [Contributors](#contributors)\n- [License](#license)\n\n_(TOC generated by [verb](https://github.com/verbose/verb) using\n[markdown-toc](https://github.com/jonschlinkert/markdown-toc))_\n\n## Install\n\nThis project requires [**Node.js**](https://nodejs.org) **>=8.11** _(see\n[Support & Release Policy](https://github.com/tunnckoCoreLabs/support-release-policy))_.\nInstall it using [**yarn**](https://yarnpkg.com) or\n[**npm**](https://npmjs.com).<br> _We highly recommend to use Yarn when you\nthink to contribute to this project._\n\n```bash\n$ yarn add parse-function\n```\n\n## Which version to use?\n\nThere's no breaking changes between the `v2.x` version. The only breaking is\n`v2.1` which also is not working properly, so no use it.\n\n**Use v2.0.x**\n\nWhen you don't need support for `arrow functions` and `es6 default params`. This\nversion uses a RegExp expression to work.\n\n**Use v2.2.x**\n\nOnly when you need a _basic_ support for `es6 features` like arrow functions.\nThis version uses a RegExp expression to work.\n\n**Use v2.3.x**\n\nWhen you want _full\\*_ support for `arrow functions` and `es6 default params`.\nWhere this \"full\", means \"almost full\", because it has bugs. This version also\nuses (`acorn.parse`) real parser to do the parsing.\n\n**Use v3.x**\n\nWhen you want to use different parser instead of the default `babylon.parse`, by\npassing custom parse function to the `options.parse` option. **From this version\nwe require `node >= 4`**.\n\n**Use v4.x**\n\nWhen you want full customization and most stable support for old and modern\nfeatures. This version uses `babylon.parseExpression` for parsing and provides a\n[Plugins API](#plugins-architecture). See the [Features](#features) section for\nmore info.\n\n**Use v5.x**\n\nIt is basically the same as `v4`, but requires Node 6 & npm 5. Another is\nboilerplate stuff.\n\n**[back to top](#readme)**\n\n## Notes\n\n### Throws in one specific case\n\n> _see: [issue #3](https://github.com/tunnckoCore/parse-function/issues/3) and\n> [test/index.js#L229-L235](https://github.com/tunnckoCore/parse-function/blob/master/test/index.js#L229-L235)_\n\nIt may throw in one specific case, otherwise it won't throw, so you should relay\non the `result.isValid` for sure.\n\n### Function named _\"anonymous\"_\n\n> _see:\n> [test/index.js#L319-L324](https://github.com/tunnckoCore/parse-function/blob/master/test/index.js#L319-L324)\n> and [Result](#result) section_\n\nIf you pass a function which is named _\"anonymous\"_ the `result.name` will be\n`'anonymous'`, but the `result.isAnonymous` will be `false` and `result.isNamed`\nwill be `true`, because in fact it's a named function.\n\n### Real anonymous function\n\n> _see:\n> [test/index.js#L326-L331](https://github.com/tunnckoCore/parse-function/blob/master/test/index.js#L326-L331)\n> and [Result](#result) section_\n\nOnly if you pass really an anonymous function you will get `result.name` equal\nto `null`, `result.isAnonymous` equal to `true` and `result.isNamed` equal to\n`false`.\n\n**[back to top](#readme)**\n\n### Plugins Architecture\n\n> _see: the [.use](#use) method,\n> [test/index.js#L305-L317](https://github.com/tunnckoCore/parse-function/blob/master/test/index.js#L305-L317)\n> and\n> [test/index.js#L396-L414](https://github.com/tunnckoCore/parse-function/blob/master/test/index.js#L396-L414)_\n\nA more human description of the plugin mechanism. Plugins are **synchronous** -\nno support and no need for **async** plugins here, but notice that you can do\nthat manually, because that exact architecture.\n\nThe first function that is passed to the [.use](#use) method is used for\nextending the core API, for example adding a new method to the `app` instance.\nThat function is immediately invoked.\n\n```js\nconst parseFunction = require('parse-function');\nconst app = parseFunction();\n\napp.use((self) => {\n  // self is same as `app`\n  console.log(self.use);\n  console.log(self.parse);\n  console.log(self.define);\n\n  self.define(self, 'foo', (bar) => bar + 1);\n});\n\nconsole.log(app.foo(2)); // => 3\n```\n\nOn the other side, if you want to access the AST of the parser, you should\nreturn a function from that plugin, which function is passed with\n`(node, result)` signature.\n\nThis function is lazy plugin, it is called only when the [.parse](#parse) method\nis called.\n\n```js\nconst parseFunction = require('parse-function');\nconst app = parseFunction();\n\napp.use((self) => {\n  console.log('immediately called');\n\n  return (node, result) => {\n    console.log('called only when .parse is invoked');\n    console.log(node);\n    console.log(result);\n  };\n});\n```\n\nWhere **1)** the `node` argument is an object - actual and real AST Node coming\nfrom the parser and **2)** the `result` is an object too - the end\n[Result](#result), on which you can add more properties if you want.\n\n**[back to top](#readme)**\n\n## API\n\n<!-- docks-start -->\n\n_Generated using [jest-runner-docs](https://ghub.now.sh/jest-runner-docs)._\n\n### [parseFunction](./src/index.js#L52)\n\n> Initializes with optional `opts` object which is passed directly to the\n> desired parser and returns an object with `.use` and `.parse` methods. The\n> default parse which is used is [babylon][]'s `.parseExpression` method from\n> `v7`.\n\n<span id=\"parsefunction-signature\"></span>\n\n#### Signature\n\n```ts\nfunction(opts = {})\n```\n\n<span id=\"parsefunction-params\"></span>\n\n#### Params\n\n- `opts` **{object}** - optional, merged with options passed to `.parse` method\n- `returns` **{object}** - app object with `.use` and `.parse` methods\n\n<span id=\"parsefunction-examples\"></span>\n\n#### Examples\n\n```js\nconst parseFunction = require('parse-function');\n\nconst app = parseFunction({\n  ecmaVersion: 2017,\n});\n\nconst fixtureFn = (a, b, c) => {\n  a = b + c;\n  return a + 2;\n};\n\nconst result = app.parse(fixtureFn);\nconsole.log(result);\n\n// see more\nconsole.log(result.name); // => null\nconsole.log(result.isNamed); // => false\nconsole.log(result.isArrow); // => true\nconsole.log(result.isAnonymous); // => true\n\n// array of names of the arguments\nconsole.log(result.args); // => ['a', 'b', 'c']\n\n// comma-separated names of the arguments\nconsole.log(result.params); // => 'a, b, c'\n```\n\n### [.parse](./src/index.js#L117)\n\n> Parse a given `code` and returns a `result` object with useful properties -\n> such as `name`, `body` and `args`. By default it uses Babylon parser, but you\n> can switch it by passing `options.parse` - for example\n> `options.parse: acorn.parse`. In the below example will show how to use\n> `acorn` parser, instead of the default one.\n\n<span id=\"parse-params\"></span>\n\n#### Params\n\n- `code` **{Function|string}** - any kind of function or string to be parsed\n- `options` **{object}** - directly passed to the parser babylon, acorn, espree\n- `options.parse` **{Function}** - by default `babylon.parseExpression`, all\n  `options` are passed as second argument\n- `returns` **{object}** - result see [result section](#result) for more info\n\n<span id=\"parse-examples\"></span>\n\n#### Examples\n\n```js\nconst acorn = require('acorn');\nconst parseFn = require('parse-function');\nconst app = parseFn();\n\nconst fn = function foo(bar, baz) {\n  return bar * baz;\n};\nconst result = app.parse(fn, {\n  parse: acorn.parse,\n  ecmaVersion: 2017,\n});\n\nconsole.log(result.name); // => 'foo'\nconsole.log(result.args); // => ['bar', 'baz']\nconsole.log(result.body); // => ' return bar * baz '\nconsole.log(result.isNamed); // => true\nconsole.log(result.isArrow); // => false\nconsole.log(result.isAnonymous); // => false\nconsole.log(result.isGenerator); // => false\n```\n\n### [.use](./src/index.js#L170)\n\n> Add a plugin `fn` function for extending the API or working on the AST nodes.\n> The `fn` is immediately invoked and passed with `app` argument which is\n> instance of `parseFunction()` call. That `fn` may return another function that\n> accepts `(node, result)` signature, where `node` is an AST node and `result`\n> is an object which will be returned [result](#result) from the `.parse`\n> method. This retuned function is called on each node only when `.parse` method\n> is called.\n\n<span id=\"use-params\"></span>\n\n#### Params\n\n- `fn` **{Function}** - plugin to be called\n- `returns` **{object}** - app instance for chaining\n\n_See [Plugins Architecture](#plugins-architecture) section._\n\n<span id=\"use-examples\"></span>\n\n#### Examples\n\n```js\n// plugin extending the `app`\napp.use((app) => {\n  app.define(app, 'hello', (place) => `Hello ${place}!`);\n});\n\nconst hi = app.hello('World');\nconsole.log(hi); // => 'Hello World!'\n\n// or plugin that works on AST nodes\napp.use((app) => (node, result) => {\n  if (node.type === 'ArrowFunctionExpression') {\n    result.thatIsArrow = true;\n  }\n  return result;\n});\n\nconst result = app.parse((a, b) => a + b + 123);\nconsole.log(result.name); // => null\nconsole.log(result.isArrow); // => true\nconsole.log(result.thatIsArrow); // => true\n\nconst result = app.parse(function foo() {\n  return 123;\n});\nconsole.log(result.name); // => 'foo'\nconsole.log(result.isArrow); // => false\nconsole.log(result.thatIsArrow); // => undefined\n```\n\n### [.define](./src/index.js#L228)\n\n> Define a non-enumerable property on an object. Just a convenience mirror of\n> the [define-property][] library, so check out its docs. Useful to be used in\n> plugins.\n\n<span id=\"define-params\"></span>\n\n#### Params\n\n- `obj` **{object}** - the object on which to define the property\n- `prop` **{string}** - the name of the property to be defined or modified\n- `val` **{any}** - the descriptor for the property being defined or modified\n- `returns` **{object}** - obj the passed object, but modified\n\n<span id=\"define-examples\"></span>\n\n#### Examples\n\n```js\nconst parseFunction = require('parse-function');\nconst app = parseFunction();\n\n// use it like `define-property` lib\nconst obj = {};\napp.define(obj, 'hi', 'world');\nconsole.log(obj); // => { hi: 'world' }\n\n// or define a custom plugin that adds `.foo` property\n// to the end result, returned from `app.parse`\napp.use((app) => {\n  return (node, result) => {\n    // this function is called\n    // only when `.parse` is called\n\n    app.define(result, 'foo', 123);\n\n    return result;\n  };\n});\n\n// fixture function to be parsed\nconst asyncFn = async (qux) => {\n  const bar = await Promise.resolve(qux);\n  return bar;\n};\n\nconst result = app.parse(asyncFn);\n\nconsole.log(result.name); // => null\nconsole.log(result.foo); // => 123\nconsole.log(result.args); // => ['qux']\n\nconsole.log(result.isAsync); // => true\nconsole.log(result.isArrow); // => true\nconsole.log(result.isNamed); // => false\nconsole.log(result.isAnonymous); // => true\n```\n\n<!-- docks-end -->\n\n**[back to top](#readme)**\n\n## Contributing\n\n### Guides and Community\n\nPlease read the [Contributing Guide][contributing-url] and [Code of\nConduct][code_of_conduct-url] documents for advices.\n\nFor bug reports and feature requests, please join our [community][community-url]\nforum and open a thread there with prefixing the title of the thread with the\nname of the project if there's no separate channel for it.\n\nConsider reading the\n[Support and Release Policy](https://github.com/tunnckoCoreLabs/support-release-policy)\nguide if you are interested in what are the supported Node.js versions and how\nwe proceed. In short, we support latest two even-numbered Node.js release lines.\n\n### Support the project\n\n[Become a Partner or Sponsor?][kofi-url] :dollar: Check the **OpenSource**\nCommision (tier). :tada: You can get your company logo, link & name on this\nfile. It's also rendered on package's page in [npmjs.com][npmv-url] and\n[yarnpkg.com](https://yarnpkg.com/en/package/parse-function) sites too! :rocket:\n\nNot financial support? Okey!\n[Pull requests](https://github.com/tunnckoCoreLabs/contributing#opening-a-pull-request),\nstars and all kind of\n[contributions](https://opensource.guide/how-to-contribute/#what-it-means-to-contribute)\nare always welcome. :sparkles:\n\n## Contributors\n\nThis project follows the\n[all-contributors](https://github.com/all-contributors/all-contributors)\nspecification. Contributions of any kind are welcome!\n\nThanks goes to these wonderful people\n([emoji key](https://allcontributors.org/docs/en/emoji-key)), consider showing\nyour [support](#support-the-project) to them:\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://tunnckoCore.com\"><img src=\"https://avatars3.githubusercontent.com/u/5038030?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Charlike Mike Reagent</b></sub></a><br /><a href=\"#infra-tunnckoCore\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/node-formidable/node-formidable/commits?author=tunnckoCore\" title=\"Code\">💻</a> <a href=\"https://github.com/node-formidable/node-formidable/commits?author=tunnckoCore\" title=\"Documentation\">📖</a> <a href=\"#ideas-tunnckoCore\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-tunnckoCore\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/node-formidable/node-formidable/commits?author=tunnckoCore\" title=\"Tests\">⚠️</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-enable -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n**[back to top](#readme)**\n\n## License\n\nCopyright (c) 2016-present, [Charlike Mike Reagent](https://tunnckocore.com)\n`<opensource@tunnckocore.com>` & [contributors](#wonderful-contributors).<br>\nReleased under the [MPL-2.0 License][license-url].\n\n<!-- badges -->\n\n<!-- prettier-ignore-start -->\n\n[contributing-url]: https://github.com/tunnckoCore/opensource/blob/master/CONTRIBUTING.md\n[code_of_conduct-url]: https://github.com/tunnckoCore/opensource/blob/master/CODE_OF_CONDUCT.md\n\n<!-- Heading badges -->\n\n[npmv-url]: https://www.npmjs.com/package/parse-function\n[npmv-img]: https://badgen.net/npm/v/parse-function?icon=npm&cache=300\n\n[license-url]: https://github.com/tunnckoCore/opensource/blob/master/packages/parse-function/LICENSE\n[license-img]: https://badgen.net/npm/license/parse-function?cache=300\n\n[libera-manifesto-url]: https://liberamanifesto.com\n[libera-manifesto-img]: https://badgen.net/badge/libera/manifesto/grey\n\n<!-- Front line badges -->\n\n[codecoverage-img]: https://badgen.net/badge/coverage/100%25/green?icon=codecov&cache=300\n\n[codecoverage-url]: https://codecov.io/gh/tunnckoCore/opensource\n\n[codestyle-url]: https://github.com/airbnb/javascript\n[codestyle-img]: https://badgen.net/badge/code%20style/airbnb/ff5a5f?icon=airbnb&cache=300\n\n[linuxbuild-url]: https://github.com/tunnckocore/opensource/actions\n[linuxbuild-img]: https://badgen.net/github/checks/tunnckoCore/opensource/master?cache=300&label=build&icon=github\n\n[ccommits-url]: https://conventionalcommits.org/\n[ccommits-img]: https://badgen.net/badge/conventional%20commits/v1.0.0/green?cache=300\n\n[standard-release-url]: https://github.com/standard-release/standard-release\n[standard-release-img]: https://badgen.net/badge/semantically/released/05c5ff?cache=300\n\n[community-img]: https://badgen.net/badge/join/community/7b16ff?cache=300\n[community-url]: https://github.com/tunnckocorehq/community\n\n[last-commit-img]: https://badgen.net/github/last-commit/tunnckoCore/opensource/master?cache=300\n[last-commit-url]: https://github.com/tunnckoCore/opensource/commits/master\n\n[nodejs-img]: https://badgen.net/badge/node/>=8.11/green?cache=300\n\n[downloads-weekly-img]: https://badgen.net/npm/dw/parse-function?icon=npm&cache=300\n[downloads-monthly-img]: https://badgen.net/npm/dm/parse-function?icon=npm&cache=300\n[downloads-total-img]: https://badgen.net/npm/dt/parse-function?icon=npm&cache=300\n\n[renovateapp-url]: https://renovatebot.com\n[renovateapp-img]: https://badgen.net/badge/renovate/enabled/green?cache=300\n\n[prs-welcome-img]: https://badgen.net/badge/PRs/welcome/green?cache=300\n[prs-welcome-url]: http://makeapullrequest.com\n\n<!-- TODO: update icon -->\n\n[paypal-url]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HYJJEZNSGAPGC&source=url\n[paypal-img]: https://badgen.net/badge/PayPal/donate/003087?cache=300&icon=https://simpleicons.now.sh/paypal/fff\n\n<!-- TODO: update icon -->\n\n[kofi-url]: https://ko-fi.com/tunnckoCore\n[kofi-img]: https://badgen.net/badge/Buy%20me/a%20coffee/29abe0c2?cache=300&icon=https://rawcdn.githack.com/tunnckoCore/badgen-icons/f8264c6414e0bec449dd86f2241d50a9b89a1203/icons/kofi.svg\n\n<!-- TODO: update icon -->\n\n[bitcoin-url]: https://www.blockchain.com/btc/payment_request?address=3QNHKun1K1SUui1b4Z3KEGPPsWC1TgtnqA&message=Open+Source+Software&amount_local=10&currency=USD\n[bitcoin-img]: https://badgen.net/badge/Bitcoin%20tip/3QNHKun...b4Z3KEGPPsWC1TgtnqA/yellow?cache=300&icon=https://simpleicons.now.sh/bitcoin/fff\n[keybase-url]: https://keybase.io/tunnckoCore\n[keybase-img]: https://badgen.net/keybase/pgp/tunnckoCore?cache=300\n[twitter-url]: https://twitter.com/tunnckoCore\n[twitter-img]: https://badgen.net/twitter/follow/tunnckoCore?icon=twitter&color=1da1f2&cache=300\n[patreon-url]: https://www.patreon.com/bePatron?u=5579781\n[patreon-img]: https://badgen.net/badge/Become/a%20patron/F96854?icon=patreon\n\n<!-- [patreon-img]: https://badgen.net/badge/Patreon/tunnckoCore/F96854?icon=patreon -->\n\n[patreon-sponsor-img]: https://badgen.net/badge/become/a%20sponsor/F96854?icon=patreon\n[twitter-share-url]: https://twitter.com/intent/tweet?text=https://ghub.now.sh/parse-function&via=tunnckoCore\n[twitter-share-img]: https://badgen.net/badge/twitter/share/1da1f2?icon=twitter\n[open-issue-url]: https://github.com/tunnckoCore/opensource/issues/new\n[tunnckocore_legal]: https://badgen.net/https/liam-badge-daknys6gadky.runkit.sh/com/legal/tunnckocore?label&color=A56016&icon=https://svgshare.com/i/Dt6.svg\n[tunnckocore_consulting]: https://badgen.net/https/liam-badge-daknys6gadky.runkit.sh/com/consulting/tunnckocore?label&color=07ba96&icon=https://svgshare.com/i/Dt6.svg\n[tunnckocore_security]: https://badgen.net/https/liam-badge-daknys6gadky.runkit.sh/com/security/tunnckocore?label&color=ed1848&icon=https://svgshare.com/i/Dt6.svg\n[tunnckocore_opensource]: https://badgen.net/https/liam-badge-daknys6gadky.runkit.sh/com/opensource/tunnckocore?label&color=ff7a2f&icon=https://svgshare.com/i/Dt6.svg\n[tunnckocore_newsletter]: https://badgen.net/https/liam-badge-daknys6gadky.runkit.sh/com/newsletter/tunnckocore?label&color=5199FF&icon=https://svgshare.com/i/Dt6.svg\n\n<!-- prettier-ignore-end -->\n\n[acorn]: https://github.com/acornjs/acorn\n[babylon]: https://babeljs.io/\n[cacache]: https://github.com/npm/cacache\n[collect-mentions]: https://github.com/olstenlarck/collect-mentions\n[define-property]: https://github.com/jonschlinkert/define-property\n[espree]: https://github.com/eslint/espree\n[execa]: https://github.com/sindresorhus/execa\n[fast-glob]: https://github.com/mrmlnc/fast-glob\n[glob]: https://github.com/isaacs/node-glob\n[globby]: https://github.com/sindresorhus/globby\n[koa-convert]: https://github.com/gyson/koa-convert\n[koa]: https://github.com/koajs/koa\n[tiny-glob]: https://github.com/terkelg/tiny-glob\n","publish_time":1454072644013,"_cnpm_publish_time":1454072644013,"dist-tags":{"latest":"5.6.10"}}