Skip to content

Leran how to build and publish my first npm package

Notifications You must be signed in to change notification settings

ngimdock/first-npm-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

first-npm-package

Check if the given number is positive

Installation

$ npm install @dan73/is-positive

or

$ yarn add @dan73/is-positive

Usage

You need to import isPositiveNumber from @dan73/is-positive

import { isPositiveNumber } from "@dan73/is-positive";

console.log(isPositiveNumber(-40)); // false

Keywords

  • typescript
  • positive
  • number

About

Leran how to build and publish my first npm package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published