Skip to content

mkusaka/npmpackage_tutorial

Repository files navigation

npmpackage_tutorial

Build Status

install

npm install --save @mkusaka/npmpackage_tutorial

useage

index.js

import { IsNullOrEmpty } from "@mkusaka/npmpackage_tutorial";

console.log(IsNullOrEmpty(""));
console.log(IsNullOrEmpty(null));
console.log(IsNullOrEmpty([]));
node index.js
# => true
#    true
#    true

more usecase has impremented in test case.

publish memo

npm version patch
npm publish

cf. https://efcl.info/2015/04/08/npm-publish-pattern/

refer

About

publish npm package training repository

Resources

Stars

Watchers

Forks

Packages

No packages published