This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
videojs-spellbook with all
npm packages installed. Try it out:
videojs-spellbook lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
jsnext:mainpointing to es6 entry files in package.json
video.jsso that it will be included in the page for testing but not included in the dist file
postcss-import(like require for css)
--tunneloption to share your local dev server over the internet
npm install --save-dev videojs-spellbook
jsnext:mainmust point to your es6 main file in each project that you want to bundle together (this will make the dist files much smaller).
sinonare included in spellbook and will be used for your project if your project does not have/need local versions. If you need the for browser dists though, you will have to install them
watchshould only be used in development