Adding JavaScript packages to Jupyter

The JavaScript language does not normally install additional packages—it makes reference to other packages via the runtime include directive which is used in your programs. Other packages can be referenced across the network or copied locally into your environment. It is assumed that accessing a library across the network via a CDN is a more efficient and faster mechanism.

However, Node.js adds the required verb to the JavaScript syntax. In this case, your code requires another module to be loaded, which is assumed to be installed in your current environment. To install another module, use npm, for example, in the following command:

npm install name-of-module 

This will install the module that's been referenced (including any embedded packages that are required) on your machine so that a required statement will work correctly.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.168.56