Skip to content

Package that exposes a function that when giving a nth position of a list of primes returns the number for that position

Notifications You must be signed in to change notification settings

Flquintero/bhe-code-exercise

 
 

Repository files navigation

Nth Prime Retriever

NPM Package

This is an npm package that when installed into a project exposes a function that takes in an nth position and returns the prime number in that position of a list of primes.

Link to Package: https://www.npmjs.com/package/nth-prime-retriever

Live Demo

If you want to see it working in a project go to: https://get-nth-prime-form.vercel.app/

Implementation Example

If you want an example of how to implement check out: https://github.com/Flquintero/get-nth-prime-form

Installing Dependancies

After cloning don't forget to run:

npm install

Tests

To test run:

npm run test

About

Package that exposes a function that when giving a nth position of a list of primes returns the number for that position

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 64.8%
  • TypeScript 35.2%