I am trying to master WebStorm. Created a project Node.js Express App.
I want to add a library.
Install it: $ npm install vsvg-paths
I understand that you need to connect it to app.js. I'm trying to do it like this:
var vsvg_paths = require("vsvg-paths");
app.use(vsvg_paths.decode());
But they tactfully tell me what I'm doing, something is wrong (says decode () is not a function or just a library connection error if I specify decode not as a function).
Tell me how to properly connect the library or where to read about it?
Here is the library itself https://github.com/jcblw/vsvg-paths
app.use(vsvg_paths.decode());? - Pavel Mayorov