@la.machine.a.idees/firestore-orm-rxjs
v0.0.1-development
Published
A template for creating npm packages using TypeScript and VSCode
Downloads
4
Maintainers
Readme
firestore-orm-rxjs-library
Template to kickstart creating a Node.js module using TypeScript and VSCode
Inspired by node-module-boilerplate
Features
- Semantic Release
- Issue Templates
- GitHub Actions
- Codecov
- VSCode Launch Configurations
- TypeScript
- Husky
- Lint Staged
- Commitizen
- Jest
- ESLint
- Prettier
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/firestore-orm-rxjs-library/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/firestore-orm-rxjs-library\|firestore-orm-rxjs-library/$REPO_NAME/g; s/La Machine à Idées/$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
firestore-orm-rxjs-library
My awesome module
Install
npm install firestore-orm-rxjs-library
Usage
import { myPackage } from 'firestore-orm-rxjs-library';
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.