2.2.0 • Published 2 years ago

largest-number v2.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

largest-number NPM version NPM monthly downloads NPM total downloads Linux Build Status

Returns largest number from the array.

Please consider following this project's author, Akshay Kumar, and consider starring the project to show your :heart: and support.

Install

Install with npm:

$ npm install --save largest-number

Usage

Works with numbers.

import largest from 'largest-number'; // load the largest function from the largest-number module. 

console.log(largest([12,34,5,67])); //=> 67
console.log(largest([56,3,4,59,9])); //=> 59

Add type:module in package.json because it will help in running the ES6 features of the javascript.

About

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:

$ npm install && npm test

(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)

To generate the readme, run the following command:

$ npm install -g verbose/verb#dev verb-generate-readme && verb

Author

Akshay Kumar

License

Copyright © 2022, Akshay Kumar. Released under the MIT License.


This file was generated by verb-generate-readme, v0.6.0, on Jan 11, 2022.