All Projects → ryansonshine → typescript-npm-package-template

ryansonshine / typescript-npm-package-template

Licence: MIT license
Boilerplate to kickstart creating an npm package using TypeScript

Programming Languages

typescript
32286 projects
shell
77523 projects

Projects that are alternatives of or similar to typescript-npm-package-template

React Native Navigation Redux Starter Kit
React Native Navigation(v2) Starter Kit with Redux, Saga, ESLint, Babel, Jest and Facebook SDK 😎
Stars: ✭ 271 (+122.13%)
Mutual labels:  eslint, starter
Eslint Plugin Node
Additional ESLint's rules for Node.js
Stars: ✭ 740 (+506.56%)
Mutual labels:  eslint, npm-package
Eslint Plugin Vue
Official ESLint plugin for Vue.js
Stars: ✭ 3,592 (+2844.26%)
Mutual labels:  eslint, npm-package
cra-template-react-template
🤘 My bootstrap template to use in react
Stars: ✭ 15 (-87.7%)
Mutual labels:  eslint, commitizen
Next Js Blog Boilerplate
🚀 Nextjs Blog Boilerplate is starter code for your blog based on Next framework. ⚡️ Made with Nextjs, TypeScript, ESLint, Prettier, PostCSS, Tailwind CSS.
Stars: ✭ 134 (+9.84%)
Mutual labels:  eslint, starter
gatsby-simple-blog
an easily configurable gatsby-starter-blog with overreacted looking and tags, breadcrumbs, disqus, i18n, eslint, algolia supported
Stars: ✭ 48 (-60.66%)
Mutual labels:  eslint, starter
Mevn Cli
Light speed setup for MEVN(Mongo Express Vue Node) Apps
Stars: ✭ 696 (+470.49%)
Mutual labels:  eslint, npm-package
nest-js-boilerplate
Nest.js boilerplate
Stars: ✭ 79 (-35.25%)
Mutual labels:  commitizen, starter
Callapp Lib
🔥call app from h5(H5唤起客户端 )
Stars: ✭ 1,857 (+1422.13%)
Mutual labels:  eslint, commitizen
Starter
Opinionated SaaS quick-start with pre-built user account and organization system for full-stack application development in React, Node.js, GraphQL and PostgreSQL. Powered by PostGraphile, TypeScript, Apollo Client, Graphile Worker, Graphile Migrate, GraphQL Code Generator, Ant Design and Next.js
Stars: ✭ 1,082 (+786.89%)
Mutual labels:  eslint, starter
generator-bunny
🐰 Jumpstart node module, like a bunny!
Stars: ✭ 13 (-89.34%)
Mutual labels:  eslint, semantic-release
Eslint Plugin Eslint Comments
Additional ESLint rules for directive comments of ESLint.
Stars: ✭ 221 (+81.15%)
Mutual labels:  eslint, npm-package
Typescript Webpack Starter
⚡ create-ts-lib: A Starter Kit and a CLI to create your TypeScript / ES6 module bundled by Webpack without thinking about build or unit tests configurations. 🏠
Stars: ✭ 358 (+193.44%)
Mutual labels:  npm-package, starter
nest-boilerplate
Nest.js boilerplate with CircleCI, Commitizen, Commitlint, Docker-Compose, ESLint, GitHub Actions, Husky, Lint-staged, OpenAPI, Prettier, PostGreSQL, Travis CI, TypeORM
Stars: ✭ 16 (-86.89%)
Mutual labels:  eslint, commitizen
Cz Cli
The commitizen command line utility. #BlackLivesMatter
Stars: ✭ 12,671 (+10286.07%)
Mutual labels:  commitizen, semantic-release
Eslint Formatter Pretty
Pretty ESLint formatter
Stars: ✭ 361 (+195.9%)
Mutual labels:  eslint, npm-package
Moderncppstarter
🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
Stars: ✭ 2,381 (+1851.64%)
Mutual labels:  starter, codecov
simple-commit-message
Simple commit message wizard and validator; works with commitizen and pre-git
Stars: ✭ 21 (-82.79%)
Mutual labels:  commitizen, semantic-release
Express React Boilerplate
🚀🚀🚀 This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: ✭ 32 (-73.77%)
Mutual labels:  eslint, npm-package
Grunt Eslint
Validate files with ESLint
Stars: ✭ 189 (+54.92%)
Mutual labels:  eslint, npm-package

typescript-npm-package-template

Template to kickstart creating a Node.js module using TypeScript and VSCode

Inspired by node-module-boilerplate

Features

Getting started

Set up your repository

Click the "Use this template" button.

Alternatively, create a new directory and then run:

curl -fsSL https://github.com/ryansonshine/typescript-npm-package-template/archive/main.tar.gz | tar -xz --strip-components=1

Replace FULL_NAME, GITHUB_USER, and REPO_NAME in the script below with your own details to personalize your new package:

FULL_NAME="John Smith"
GITHUB_USER="johnsmith"
REPO_NAME="my-cool-package"
sed -i.mybak "s/ryansonshine/$GITHUB_USER/g; s/typescript-npm-package-template\|my-package-name/$REPO_NAME/g; s/Ryan Sonshine/$FULL_NAME/g" package.json package-lock.json README.md
rm *.mybak

Add NPM Token

Add your npm token to your GitHub repository secrets as NPM_TOKEN.

Add Codecov integration

Enable the Codecov GitHub App here.

Remove everything from here and above


my-package-name

npm package Build Status Downloads Issues Code Coverage Commitizen Friendly Semantic Release

My awesome module

Install

npm install my-package-name

Usage

import { myPackage } from 'my-package-name';

myPackage('hello');
//=> 'hello from my package'

API

myPackage(input, options?)

input

Type: string

Lorem ipsum.

options

Type: object

postfix

Type: string Default: rainbows

Lorem ipsum.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].