0.8.38 • Published 9 years ago

regenerator-runtime-only v0.8.38

Weekly downloads
66
License
BSD
Repository
github
Last release
9 years ago

regenerator-runtime-only

Just the runtime part of regenerator. If your publishing a module to npm that relies on regenerator, This allows you to include the runtime without also making people download the entire regenerator library %28complete with AST transformers and parsers etc.%29.

This module is automatically re-built and published by a bot that polls npm every 10 minutes. You can check the status of the bot by navigating to regenerator-runtime-bot.jepso.com%28https://regenerator-runtime-bot.jepso.com%29

Installation

npm install regenerator-runtime-only

Usage

var regeneratorRuntime = require%28%27regenerator-runtime-only%27%29;

function%2A foo%28%29 {
  yield 10;
  yield 32;
}
var gen = foo%28%29;
assert%28gen.next%28%29 + gen.next%28%29 === 42%29;

Then run regenerator src.js > index.js and the resulting output will only need to load regnerator-runtime-only. If ES6 features are unavailable, it will also load es6-symbol%28https://www.npmjs.com/package/es6-symbol%29 and Promise%28https://www.npmjs.org/package/promise%29 but it will not polyfill either feature on the glo al, and will prefer existing polyfills over these libraries.

License

MIT

0.8.38

9 years ago

0.8.37

9 years ago

0.8.36

9 years ago

0.8.35

9 years ago

0.8.34

9 years ago

0.8.33

9 years ago

0.8.32

9 years ago

0.8.31

9 years ago

0.8.30

9 years ago

0.8.29

9 years ago

0.8.28

9 years ago

0.8.27

10 years ago

0.8.26

10 years ago

0.8.25

10 years ago

0.8.24

10 years ago

0.8.23

10 years ago

0.8.22

10 years ago

0.8.21

10 years ago

0.8.20

10 years ago

0.8.19

10 years ago

0.8.18

10 years ago

0.8.17

10 years ago

0.8.16

10 years ago

0.8.15

10 years ago

0.8.14

10 years ago

0.8.13

10 years ago

0.8.12

10 years ago

0.8.11

10 years ago

0.8.10

10 years ago

0.8.9

10 years ago

0.8.8

10 years ago

0.8.7

10 years ago

0.8.6

10 years ago