New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

perfect-number

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

perfect-number

Checks if a number is perfect.

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

#Checks if a number is perfect.

Build Status Coverage Status Stable Version Download Status License

Requirement

  • Node 6

Installation

npm install --save perfect-number

Usage

var check = require('perfect-number');

check.isPerfectNumber(5, (err,value) => {
  console.log(value);//false
});

check.isPerfectNumber(6, (err,value) => {
  console.log(value);//true
});

Test

npm test

Contributing

ThanhPX

Release History

  • 1.0.0 Initial release
  • 1.0.3 Update README

License

The MIT License (MIT). Please see License File for more information.

Keywords

perfect-number

FAQs

Package last updated on 06 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts