Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eratosthenes-primes

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eratosthenes-primes - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

8

package.json
{
"name": "eratosthenes-primes",
"version": "0.0.1",
"version": "0.0.2",
"description": "A simple prime number generator.",

@@ -8,3 +8,3 @@ "author": "Donovan Hutchinson",

"type": "git",
"url": "https://github.com/donovanh/prime-generator"
"url": "https://github.com/donovanh/eratosthenes-primes"
},

@@ -40,3 +40,4 @@ "keywords": [

"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
"postversion": "git push && git push --tags",
"web": "gh-pages -d demos"
},

@@ -47,2 +48,3 @@ "devDependencies": {

"babel-jest": "^27.4.6",
"gh-pages": "^3.2.3",
"jest": "^27.4.7",

@@ -49,0 +51,0 @@ "prettier": "^2.5.1",

@@ -1,2 +0,2 @@

# Prime Generator
# Prime Numbers Generator

@@ -12,3 +12,3 @@ A simple function that generates prime numbers between a given range.

```js
import { generate } from './primes'
import { generate } from 'prime-generator'

@@ -29,3 +29,3 @@ generate(1, 100) // Returns array of primes between 1 and 100

```html
<script src="[CDN URL]"></script>
<script src="http://hop.ie/eratosthenes-primes/js/browser/primes.js"></script>

@@ -32,0 +32,0 @@ <script>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc