1.0.6 • Published 5 years ago

npm-release-daenamkim v1.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

NPM Release Test

Build Status npm.io Coverage Status FOSSA Status

  • Basically follow Reference
  • Replace a demo function as below because I want to compare to types too
    export function IsNullOrEmpty(str: string): boolean {
      return !str || (!!str && str.trim().length === 0);
    }
  • Must run npm version [YOUR VERSION] to run preversion and postversion, add a tag in GitHub repo before npm publish
  • Do not add dist/ in .npmignore, it must be included but coverage/ and test/

Install

$ yarn add npm-release-daenamkim

or

$ npm install npm-release-daenamkim

For JavaScript

const test = require('npm-release-daenamkim');

console.log(test.IsNullOrEmpty(undefined));
console.log(test.IsNullOrEmpty(null));
console.log(test.IsNullOrEmpty(''));
console.log(test.IsNullOrEmpty('a')); // false

For TypeScript

import * as test from 'npm-release-daenamkim';

console.log(test.IsNullOrEmpty(undefined));
console.log(test.IsNullOrEmpty(null));
console.log(test.IsNullOrEmpty(''));
console.log(test.IsNullOrEmpty('a')); // false
1.0.6

5 years ago

1.0.6-beta.0

6 years ago

1.0.5-beta.1

6 years ago

1.0.5-beta.0

6 years ago

1.0.5

6 years ago

1.0.5-omega.0

6 years ago

1.0.5-omega

6 years ago

1.0.5-alpha.0

6 years ago

1.0.4-beta.1

6 years ago

1.0.4-beta.0

6 years ago

1.0.4-beta

6 years ago

1.0.4-alpha.2

6 years ago

1.0.4-alpha.1

6 years ago

1.0.4-alpha.0

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.0

6 years ago