{"_id":"make-async-function","_rev":"1-6fd78dcc89f798f4b0a816a32f0a3c65","name":"make-async-function","description":"Function that returns an arbitrary `async function`, or undefined if `async function` syntax is unsupported.","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"make-async-function","version":"1.0.0","description":"Function that returns an arbitrary `async function`, or undefined if `async function` syntax is unsupported.","main":"./","scripts":{"prepublish":"safe-publish-latest","lint":"eslint .","pretest":"npm run lint","tests-only":"node test","test":"npm run tests-only","posttest":"npm run security","security":"nsp check"},"repository":{"type":"git","url":"git+https://github.com/ljharb/make-async-function.git"},"keywords":["async function","async","function","ES2017","ES8","ES7","ES6","promise","await"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/make-async-function/issues"},"homepage":"https://github.com/ljharb/make-async-function#readme","devDependencies":{"@ljharb/eslint-config":"^12.2.1","eslint":"^4.6.1","nsp":"^2.7.0","safe-publish-latest":"^1.1.1","tape":"^4.8.0"},"gitHead":"c385a926aaec91ea4f84e47db17d0c830f5c8fbd","_id":"make-async-function@1.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"integrity":"sha512-Q+5MwkV2yBk4fzHNgnPdjfePJgaefNd4PvnUqDnPHyumozVasrlMeEzFVMxm6febW4Qdl6S7oi4vvSnIfvoUEA==","shasum":"91a5669969e1fb75d53a07c645bd52c42c1548f4","tarball":"https://registry.npmjs.org/make-async-function/-/make-async-function-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsgug+QiTK73UDDZN+h94peXJpIuWyHddRLZwKGfbbZQIgblg37K1Uou5mjA9FFNPUhGf4eCBBX5HkTLG9zmx3VQQ="}]},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/make-async-function-1.0.0.tgz_1504630105515_0.20766925276257098"}}},"readme":"# make-async-function <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![Build Status][travis-svg]][travis-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nFunction that returns an arbitrary `async function`, or undefined if `async function` syntax is unsupported.\n\n## Example\n```js\nvar maybeAsyncFunction = require('make-async-function')();\nif (maybeAsyncFunction) {\n\tassert(typeof maybeAsyncFunction === 'function');\n} else {\n\tassert(typeof maybeAsyncFunction === 'undefined');\n}\n\nvar asyncFunctions = require('make-async-function').list();\nassert(asyncFunctions.every(function (fn) { return typeof fn === 'function'; }));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/make-async-function\n[npm-version-svg]: http://versionbadg.es/ljharb/make-async-function.svg\n[travis-svg]: https://travis-ci.org/ljharb/make-async-function.svg\n[travis-url]: https://travis-ci.org/ljharb/make-async-function\n[deps-svg]: https://david-dm.org/ljharb/make-async-function.svg\n[deps-url]: https://david-dm.org/ljharb/make-async-function\n[dev-deps-svg]: https://david-dm.org/ljharb/make-async-function/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/make-async-function#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/make-async-function.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/make-async-function.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/make-async-function.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=make-async-function\n\n","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"time":{"modified":"2022-05-08T17:41:09.697Z","created":"2017-09-05T16:48:26.469Z","1.0.0":"2017-09-05T16:48:26.469Z"},"homepage":"https://github.com/ljharb/make-async-function#readme","keywords":["async function","async","function","ES2017","ES8","ES7","ES6","promise","await"],"repository":{"type":"git","url":"git+https://github.com/ljharb/make-async-function.git"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"bugs":{"url":"https://github.com/ljharb/make-async-function/issues"},"license":"MIT","readmeFilename":"README.md"}