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

20 Versions

  • 0.13.2                                ...           2 months ago
  • 0.13.1                                ...           5 months ago
  • 0.13.0                                ...           5 months ago
  • 0.12.1                                ...           9 months ago
  • 0.12.0                                ...           10 months ago
  • 0.11.1                                ...           a year 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                                ...           2 years ago
  • 0.10.0                                ...           2 years ago
  • 0.9.6                                ...           2 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 30,621
This Week 78,946
This Month 834,549
Last Day 48,325
Last Week 264,305
Last Month 1,058,726
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (785)

Copyright 2014 - 2017 © taobao.org |