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

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 (4 days ago)
  • 0.13.2                                ...           next (5 months ago)

21 Versions

  • 0.13.3                                ...           4 days ago
  • 0.13.2                                ...           5 months ago
  • 0.13.1                                ...           8 months ago
  • 0.13.0                                ...           8 months 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                                ...           2 years ago
  • 0.10.2                                ...           2 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,971
This Week 125,043
This Month 939,852
Last Day 60,907
Last Week 278,549
Last Month 993,580
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (981)

Copyright 2014 - 2016 © taobao.org |