check-if-prime

1.0.4 • Public • Published

��Welcome to --> Check If Prime
Created by - Anubhav

This package allows you to check if a given number is prime.

Installation
You can install this package via npm:
npm install check-if-prime

How to use
You can use this package like this

const isPrime = require('check-if-prime');
// Example usage:
console.log(isPrime(13)); // Output: true
console.log(isPrime(100)); // Output: false

Package Sidebar

Install

npm i check-if-prime

Weekly Downloads

5

Version

1.0.4

License

ISC

Unpacked Size

2.06 kB

Total Files

3

Last publish

Collaborators

  • anubhav_codes