A template for creating and publishing TypeScript npm packages with automated GitHub workflows.
- TypeScript configuration
- Jest testing setup
- Automated npm publishing
- GitHub Actions workflows
- Environment variable support
- Comprehensive documentation
- Use this template by clicking "Use this template" on GitHub
- Clone your new repository
- Update the package name in
package.json - Set up GitHub repository secrets:
NPM_TOKEN: Your npm access token for publishing- Add any other secrets your package needs
npm install your-package-nameimport { yourFunction } from "your-package-name";
// Add usage examples hereSee the development guide for detailed instructions on:
- Setting up your development environment
- Building the project
- Running tests
See the environment documentation for details on configuring environment variables.
See the publishing guide for instructions on:
- Updating the package version
- Publishing to npm
- Verifying the published package
MIT License - see the LICENSE file for details