Npm package steps to publish Create npmignore file put src over there Compile typscript and create dist folder tsc -b login to npm npm login publish to npm npm publish