regenerator-runtime
Runtime for Regenerator-compiled generator and async functions.
Last updated 3 months ago by benjamn .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install regenerator-runtime 
SYNC missed versions from official npm registry.

regenerator-runtime

Standalone runtime for Regenerator-compiled generator and async functions.

To import the runtime as a module (recommended), either of the following import styles will work:

// CommonJS
const regeneratorRuntime = require("regenerator-runtime");

// ECMAScript 2015
import regeneratorRuntime from "regenerator-runtime";

To ensure that regeneratorRuntime is defined globally, either of the following styles will work:

// CommonJS
require("regenerator-runtime/runtime");

// ECMAScript 2015
import "regenerator-runtime/runtime";

To get the absolute file system path of runtime.js, evaluate the following expression:

require("regenerator-runtime/path").path

Current Tags

  • 0.13.3                                ...           latest (3 months ago)
  • 0.13.2                                ...           next (7 months ago)

21 Versions

  • 0.13.3                                ...           3 months ago
  • 0.13.2                                ...           7 months ago
  • 0.13.1                                ...           a year ago
  • 0.13.0                                ...           a year ago
  • 0.12.1                                ...           a year ago
  • 0.12.0                                ...           a year ago
  • 0.11.1                                ...           2 years ago
  • 0.11.0                                ...           2 years ago
  • 0.10.5                                ...           2 years ago
  • 0.10.4                                ...           2 years ago
  • 0.10.3                                ...           3 years ago
  • 0.10.2                                ...           3 years ago
  • 0.10.1                                ...           3 years ago
  • 0.10.0                                ...           3 years ago
  • 0.9.6                                ...           3 years ago
  • 0.9.5                                ...           3 years ago
  • 0.9.4                                ...           3 years ago
  • 0.9.3                                ...           3 years ago
  • 0.9.2                                ...           3 years ago
  • 0.9.1                                ...           3 years ago
  • 0.9.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 1,064
This Week 1,064
This Month 641,553
Last Day 15,506
Last Week 295,755
Last Month 1,188,332
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1264)

Copyright 2014 - 2017 © taobao.org |