Skip to content

akshayarise/largest-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ❤️ 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

Contributing

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

Running Tests

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
Building docs

(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.

Releases

No releases published

Packages

No packages published