Need Assistance?

support@tutorialshub.in

Publishing Your Own npm Package

Preparing a Package (exports & files)

ADVERTISEMENT
npm Free Lesson
5 min read
ADVERTISEMENT

Add a README.md, a LICENSE (e.g., MIT), and a "files": ["dist"] array in package.json so tests and source configs aren't uploaded to npm.

ADVERTISEMENT
Hi, I'm Tuby! Here to help you