regenerator-runtime
Runtime for Regenerator-compiled generator and async functions.
Last updated 5 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 (5 months ago)
  • 0.13.2                                ...           next (9 months ago)

21 Versions

  • 0.13.3                                ...           5 months ago
  • 0.13.2                                ...           9 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                                ...           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 12,523
This Week 260,163
This Month 631,746
Last Day 59,937
Last Week 355,756
Last Month 1,430,449
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1403)

Copyright 2014 - 2016 © taobao.org |