Skip to content

ArcAOGaming/npm-package-template

 
 

Repository files navigation

TypeScript NPM Package Template

license

A template for creating and publishing TypeScript npm packages with automated GitHub workflows.

Features

  • TypeScript configuration
  • Jest testing setup
  • Automated npm publishing
  • GitHub Actions workflows
  • Environment variable support
  • Comprehensive documentation

Getting Started

  1. Use this template by clicking "Use this template" on GitHub
  2. Clone your new repository
  3. Update the package name in package.json
  4. Set up GitHub repository secrets:
    • NPM_TOKEN: Your npm access token for publishing
    • Add any other secrets your package needs

Installation

npm install your-package-name

Usage

import { yourFunction } from "your-package-name";

// Add usage examples here

Development

See the development guide for detailed instructions on:

  • Setting up your development environment
  • Building the project
  • Running tests

Environment Variables

See the environment documentation for details on configuring environment variables.

Publishing

See the publishing guide for instructions on:

  • Updating the package version
  • Publishing to npm
  • Verifying the published package

License

MIT License - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 90.9%
  • TypeScript 9.1%