- How to make list of presentation and genarate one pdf file
Split content from MD, Merge to to one html
node combine.js
How to create your own Node.js module
There should now be a
package.jsonfile inside your project directory. We need to write our code to upload it as a module.Note: In this example, we are simply writing a function to print some text to the console.
Create a file and name it
index.jsin the project directory. Copy and paste the following code to index.js:exports.printMsg = function() { console.log("Node.js is awesome!"); }If you don't have an npm account - Create one below:
Login using your credentials:
npm loginAfter logging in, you're ready to publish!
npm publish
https://github.com/webslides-pl/www.git
