Require notebooks from Tonic in your local environment


1.0.15 years ago7 years agoMinified + gzip package size for notebook in KB


Tonic Notebooks

Any notebook in Tonic can also be a node module, and can be required by any other notebook in Tonic like this:


Here, package-server is the name of the notebook, and 1.0.0 is the specific version we're requiring (using semver, of course).

Within Tonic this just works. Outside of Tonic, you can npm install this package to make these requires work.

Note: this package currently makes blocking calls, so you probably don't want to use it in performance sensitive places.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from