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

9 years ago

0.8.26

9 years ago

0.8.25

9 years ago

0.8.24

9 years ago

0.8.23

9 years ago

0.8.22

9 years ago

0.8.21

9 years ago

0.8.20

9 years ago

0.8.19

9 years ago

0.8.18

9 years ago

0.8.17

9 years ago

0.8.16

9 years ago

0.8.15

9 years ago

0.8.14

9 years ago

0.8.13

9 years ago

0.8.12

9 years ago

0.8.11

9 years ago

0.8.10

9 years ago

0.8.9

9 years ago

0.8.8

9 years ago

0.8.7

9 years ago

0.8.6

9 years ago