{"_id":"babel-helper-wrap-function","_rev":"86145","name":"babel-helper-wrap-function","description":"Helper to wrap functions inside a function call.","dist-tags":{"latest":"7.0.0-alpha.16","next":"7.0.0-beta.3"},"maintainers":[{"name":"hzoo","email":""}],"time":{"modified":"2021-06-03T10:27:59.000Z","created":"2017-07-25T21:18:35.807Z","7.0.0-beta.3":"2017-10-15T13:12:37.180Z","7.0.0-beta.2":"2017-09-26T15:16:11.481Z","7.0.0-beta.1":"2017-09-19T20:24:54.421Z","7.0.0-beta.0":"2017-09-12T03:03:08.360Z","7.0.0-alpha.20":"2017-08-30T19:04:46.898Z","7.0.0-alpha.19":"2017-08-07T22:22:20.272Z","7.0.0-alpha.18":"2017-08-03T22:21:36.903Z","7.0.0-alpha.17":"2017-07-26T12:40:08.122Z","7.0.0-alpha.16":"2017-07-25T21:18:35.807Z"},"users":{},"repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-helper-wrap-function"},"versions":{"7.0.0-beta.3":{"name":"babel-helper-wrap-function","version":"7.0.0-beta.3","description":"Helper to wrap functions inside a function call.","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-helper-wrap-function"},"license":"MIT","main":"lib/index.js","dependencies":{"babel-helper-function-name":"7.0.0-beta.3","babel-template":"7.0.0-beta.3","babel-traverse":"7.0.0-beta.3","babel-types":"7.0.0-beta.3"},"_id":"babel-helper-wrap-function@7.0.0-beta.3","_npmVersion":"5.5.1","_nodeVersion":"8.1.4","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"shasum":"0698f3acd2b61bf2ff2f3c8417eb80e878b175fc","size":1733,"noattachment":false,"key":"/babel-helper-wrap-function/-/babel-helper-wrap-function-7.0.0-beta.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-helper-wrap-function/download/babel-helper-wrap-function-7.0.0-beta.3.tgz"},"maintainers":[{"name":"hzoo","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-helper-wrap-function-7.0.0-beta.3.tgz_1508073156281_0.7312712601851672"},"directories":{},"publish_time":1508073157180,"_hasShrinkwrap":false,"_cnpm_publish_time":1508073157180},"7.0.0-beta.2":{"name":"babel-helper-wrap-function","version":"7.0.0-beta.2","description":"Helper to wrap functions inside a function call.","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-helper-wrap-function"},"license":"MIT","main":"lib/index.js","dependencies":{"babel-helper-function-name":"7.0.0-beta.2","babel-template":"7.0.0-beta.2","babel-traverse":"7.0.0-beta.2","babel-types":"7.0.0-beta.2"},"_id":"babel-helper-wrap-function@7.0.0-beta.2","_npmVersion":"5.4.1","_nodeVersion":"8.1.4","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"shasum":"255b31b11a9e312836cdc30ad99a8133c141a696","size":1757,"noattachment":false,"key":"/babel-helper-wrap-function/-/babel-helper-wrap-function-7.0.0-beta.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-helper-wrap-function/download/babel-helper-wrap-function-7.0.0-beta.2.tgz"},"maintainers":[{"name":"hzoo","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-helper-wrap-function-7.0.0-beta.2.tgz_1506438970601_0.7087768316268921"},"directories":{},"publish_time":1506438971481,"_hasShrinkwrap":false,"_cnpm_publish_time":1506438971481},"7.0.0-beta.1":{"name":"babel-helper-wrap-function","version":"7.0.0-beta.1","description":"Helper to wrap functions inside a function call.","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-helper-wrap-function"},"license":"MIT","main":"lib/index.js","dependencies":{"babel-helper-function-name":"7.0.0-beta.1","babel-template":"7.0.0-beta.1","babel-traverse":"7.0.0-beta.1","babel-types":"7.0.0-beta.1"},"_id":"babel-helper-wrap-function@7.0.0-beta.1","_npmVersion":"5.4.1","_nodeVersion":"8.1.4","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"shasum":"1e09cfe349bde4e112b15c4b47fa1470a1ae4424","size":1754,"noattachment":false,"key":"/babel-helper-wrap-function/-/babel-helper-wrap-function-7.0.0-beta.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-helper-wrap-function/download/babel-helper-wrap-function-7.0.0-beta.1.tgz"},"maintainers":[{"name":"hzoo","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-helper-wrap-function-7.0.0-beta.1.tgz_1505852694142_0.6943489492405206"},"directories":{},"publish_time":1505852694421,"_hasShrinkwrap":false,"_cnpm_publish_time":1505852694421},"7.0.0-beta.0":{"name":"babel-helper-wrap-function","version":"7.0.0-beta.0","description":"Helper to wrap functions inside a function call.","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-helper-wrap-function"},"license":"MIT","main":"lib/index.js","dependencies":{"babel-helper-function-name":"7.0.0-beta.0","babel-template":"7.0.0-beta.0","babel-traverse":"7.0.0-beta.0","babel-types":"7.0.0-beta.0"},"_id":"babel-helper-wrap-function@7.0.0-beta.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"shasum":"b5fbde92c0b09a6be755cbe9e067e38f4c4b8b41","size":1809,"noattachment":false,"key":"/babel-helper-wrap-function/-/babel-helper-wrap-function-7.0.0-beta.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-helper-wrap-function/download/babel-helper-wrap-function-7.0.0-beta.0.tgz"},"maintainers":[{"name":"hzoo","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-helper-wrap-function-7.0.0-beta.0.tgz_1505185387397_0.2698833860922605"},"directories":{},"publish_time":1505185388360,"_hasShrinkwrap":false,"_cnpm_publish_time":1505185388360},"7.0.0-alpha.20":{"name":"babel-helper-wrap-function","version":"7.0.0-alpha.20","description":"Helper to wrap functions inside a function call.","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-helper-wrap-function"},"license":"MIT","main":"lib/index.js","dependencies":{"babel-helper-function-name":"7.0.0-alpha.20","babel-template":"7.0.0-alpha.20","babel-traverse":"7.0.0-alpha.20","babel-types":"7.0.0-alpha.20"},"_id":"babel-helper-wrap-function@7.0.0-alpha.20","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"shasum":"1a49b3197ee5796399cdb28b7ed25e72dbac49a5","size":1808,"noattachment":false,"key":"/babel-helper-wrap-function/-/babel-helper-wrap-function-7.0.0-alpha.20.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-helper-wrap-function/download/babel-helper-wrap-function-7.0.0-alpha.20.tgz"},"maintainers":[{"name":"hzoo","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-helper-wrap-function-7.0.0-alpha.20.tgz_1504119886825_0.9728077305480838"},"directories":{},"publish_time":1504119886898,"_hasShrinkwrap":false,"_cnpm_publish_time":1504119886898},"7.0.0-alpha.19":{"name":"babel-helper-wrap-function","version":"7.0.0-alpha.19","description":"Helper to wrap functions inside a function call.","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-helper-wrap-function"},"license":"MIT","main":"lib/index.js","dependencies":{"babel-helper-function-name":"7.0.0-alpha.19","babel-template":"7.0.0-alpha.19","babel-traverse":"7.0.0-alpha.19","babel-types":"7.0.0-alpha.19"},"_id":"babel-helper-wrap-function@7.0.0-alpha.19","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"shasum":"20abff1467021a8d2b275c2ad7ae168a11ed25ec","size":1809,"noattachment":false,"key":"/babel-helper-wrap-function/-/babel-helper-wrap-function-7.0.0-alpha.19.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-helper-wrap-function/download/babel-helper-wrap-function-7.0.0-alpha.19.tgz"},"maintainers":[{"name":"hzoo","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-helper-wrap-function-7.0.0-alpha.19.tgz_1502144540209_0.8758444187697023"},"directories":{},"publish_time":1502144540272,"_hasShrinkwrap":false,"_cnpm_publish_time":1502144540272},"7.0.0-alpha.18":{"name":"babel-helper-wrap-function","version":"7.0.0-alpha.18","description":"Helper to wrap functions inside a function call.","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-helper-wrap-function"},"license":"MIT","main":"lib/index.js","dependencies":{"babel-helper-function-name":"7.0.0-alpha.18","babel-template":"7.0.0-alpha.18","babel-traverse":"7.0.0-alpha.18","babel-types":"7.0.0-alpha.18"},"_id":"babel-helper-wrap-function@7.0.0-alpha.18","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"shasum":"47d194f19d0fab899a60e768214b7e1fc71471b0","size":1808,"noattachment":false,"key":"/babel-helper-wrap-function/-/babel-helper-wrap-function-7.0.0-alpha.18.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-helper-wrap-function/download/babel-helper-wrap-function-7.0.0-alpha.18.tgz"},"maintainers":[{"name":"hzoo","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-helper-wrap-function-7.0.0-alpha.18.tgz_1501798896831_0.021762394811958075"},"directories":{},"publish_time":1501798896903,"_hasShrinkwrap":false,"_cnpm_publish_time":1501798896903},"7.0.0-alpha.17":{"name":"babel-helper-wrap-function","version":"7.0.0-alpha.17","description":"Helper to wrap functions inside a function call.","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-helper-wrap-function"},"license":"MIT","main":"lib/index.js","dependencies":{"babel-helper-function-name":"7.0.0-alpha.17","babel-template":"7.0.0-alpha.17","babel-traverse":"7.0.0-alpha.17","babel-types":"7.0.0-alpha.17"},"_id":"babel-helper-wrap-function@7.0.0-alpha.17","scripts":{},"_shasum":"d796f0a428bc3a21110cc381344b4260c4bf4875","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.9.0","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"shasum":"d796f0a428bc3a21110cc381344b4260c4bf4875","size":1809,"noattachment":false,"key":"/babel-helper-wrap-function/-/babel-helper-wrap-function-7.0.0-alpha.17.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-helper-wrap-function/download/babel-helper-wrap-function-7.0.0-alpha.17.tgz"},"maintainers":[{"name":"hzoo","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-helper-wrap-function-7.0.0-alpha.17.tgz_1501072807055_0.014334921725094318"},"directories":{},"publish_time":1501072808122,"_hasShrinkwrap":false,"_cnpm_publish_time":1501072808122},"7.0.0-alpha.16":{"name":"babel-helper-wrap-function","version":"7.0.0-alpha.16","description":"Helper to wrap functions inside a function call.","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-helper-wrap-function"},"license":"MIT","main":"lib/index.js","dependencies":{"babel-helper-function-name":"7.0.0-alpha.16","babel-template":"7.0.0-alpha.16","babel-traverse":"7.0.0-alpha.16","babel-types":"7.0.0-alpha.16"},"_id":"babel-helper-wrap-function@7.0.0-alpha.16","scripts":{},"_shasum":"1aa2b1fd6744a45b768eedc7ab19c8b53b3b46af","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.9.0","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"shasum":"1aa2b1fd6744a45b768eedc7ab19c8b53b3b46af","size":1806,"noattachment":false,"key":"/babel-helper-wrap-function/-/babel-helper-wrap-function-7.0.0-alpha.16.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-helper-wrap-function/download/babel-helper-wrap-function-7.0.0-alpha.16.tgz"},"maintainers":[{"name":"hzoo","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-helper-wrap-function-7.0.0-alpha.16.tgz_1501017514687_0.8790495228022337"},"directories":{},"publish_time":1501017515807,"_cnpm_publish_time":1501017515807,"_hasShrinkwrap":false}},"readme":"# babel-helper-wrap-function\n\nThis helper wraps a function within a call expression. It works with any function: statements, expressions and methods; both named and anonymous.\n\n## Example\n\n**In**\n\n```js\n(function () {\n}());\n```\n\n**Out**\n\n```js\n_wrapper(function () {\n})();\n```\n\n## Usage\n\n```js\nimport wrapFunction from \"babel-helper-wrap-function\";\n\nwrapFunction(nodePathOfTheFunction, nodeWhichReferencesToTheWrapper);\n```\n","_attachments":{},"license":"MIT"}