regenerator-runtime
Runtime for Regenerator-compiled generator and async functions.
Last updated 18 days 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.js";

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

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

Current Tags

  • 0.13.5                                ...           latest (18 days ago)
  • 0.13.4                                ...           next (a month ago)

23 Versions

  • 0.13.5                                ...           18 days ago
  • 0.13.4                                ...           a month ago
  • 0.13.3                                ...           8 months ago
  • 0.13.2                                ...           a year ago
  • 0.13.1                                ...           a year ago
  • 0.13.0                                ...           a year ago
  • 0.12.1                                ...           2 years ago
  • 0.12.0                                ...           2 years ago
  • 0.11.1                                ...           2 years ago
  • 0.11.0                                ...           3 years ago
  • 0.10.5                                ...           3 years ago
  • 0.10.4                                ...           3 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                                ...           4 years ago
  • 0.9.4                                ...           4 years ago
  • 0.9.3                                ...           4 years ago
  • 0.9.2                                ...           4 years ago
  • 0.9.1                                ...           4 years ago
  • 0.9.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 2,916
This Week 89,800
This Month 2,049,874
Last Day 86,884
Last Week 495,417
Last Month 1,277,183
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1764)

Copyright 2014 - 2016 © taobao.org |