Skip to Content
1
Jan 18, 2023 at 03:53 PM

Consuming NPM Package from node modules

223 Views

screenshot.pngI have created a new project and created an account in npm and GitHub, I have login the npm user account in the sap bas terminal and I have pushed my codes to the git repository which was created by me and I have added publish.yml file to publish my npm package in NPM., then I have published my npm package and I install in the newly created project in BAS I can able to see the package in node modules. So, currently, I want to know how we can consume the package from node modules and use the .js file in the application as a library.

Attachments

screenshot.png (42.4 kB)