regenerator-runtime
Runtime for Regenerator-compiled generator and async functions.
Last updated 8 years ago by benjamn .
MIT · Repository · Original npm · Tarball · package.json
$ gnpm 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.14.1                                ...           latest (10 months ago)
  • 0.14.1                                ...           next (10 months ago)

31 Versions

  • 0.14.1                                ...           10 months ago
  • 0.14.0                                ...           a year ago
  • 0.13.11                                ...           2 years ago
  • 0.13.10                                ...           2 years ago
  • 0.13.9                                ...           3 years ago
  • 0.13.8                                ...           4 years ago
  • 0.13.7                                ...           4 years ago
  • 0.13.6                                ...           4 years ago
  • 0.13.5                                ...           5 years ago
  • 0.13.4                                ...           5 years ago
  • 0.13.3                                ...           5 years ago
  • 0.13.2                                ...           6 years ago
  • 0.13.1                                ...           6 years ago
  • 0.13.0                                ...           6 years ago
  • 0.12.1                                ...           6 years ago
  • 0.12.0                                ...           6 years ago
  • 0.11.1                                ...           7 years ago
  • 0.11.0                                ...           7 years ago
  • 0.10.5                                ...           7 years ago
  • 0.10.4                                ...           7 years ago
  • 0.10.3                                ...           8 years ago
  • 0.10.2                                ...           8 years ago
  • 0.10.1                                ...           8 years ago
  • 0.10.0                                ...           8 years ago
  • 0.9.6                                ...           8 years ago
  • 0.9.5                                ...           8 years ago
  • 0.9.4                                ...           8 years ago
  • 0.9.3                                ...           8 years ago
  • 0.9.2                                ...           8 years ago
  • 0.9.1                                ...           8 years ago
  • 0.9.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright 2013 - present © cnpmjs.org | Home |