Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/number-theoretic/primes

:two: :three: :five: :seven: Prime numbers for JavaScript
https://github.com/number-theoretic/primes

agpl algorithms computer-science integer-sequences javascript mathematics number-theory primality-testing prime-numbers

Last synced: 5 days ago
JSON representation

:two: :three: :five: :seven: Prime numbers for JavaScript

Awesome Lists containing this project

README

        

:two: :three: :five: :seven:
[@number-theoretic/primes](https://number-theoretic.github.io/primes)
==






© xkcd.com

Prime numbers algorithms for JavaScript.
See [docs](https://number-theoretic.github.io/primes).
Parent is [js-algorithms](https://github.com/make-github-pseudonymous-again/js-algorithms).

[![License](https://img.shields.io/github/license/number-theoretic/primes.svg)](https://raw.githubusercontent.com/number-theoretic/primes/main/LICENSE)
[![Version](https://img.shields.io/npm/v/@number-theoretic/primes.svg)](https://www.npmjs.org/package/@number-theoretic/primes)
[![Tests](https://img.shields.io/github/actions/workflow/status/number-theoretic/primes/ci.yml?branch=main&event=push&label=tests)](https://github.com/number-theoretic/primes/actions/workflows/ci.yml?query=branch:main)
[![Dependencies](https://img.shields.io/librariesio/github/number-theoretic/primes.svg)](https://github.com/number-theoretic/primes/network/dependencies)
[![GitHub issues](https://img.shields.io/github/issues/number-theoretic/primes.svg)](https://github.com/number-theoretic/primes/issues)
[![Downloads](https://img.shields.io/npm/dm/@number-theoretic/primes.svg)](https://www.npmjs.org/package/@number-theoretic/primes)

[![Code issues](https://img.shields.io/codeclimate/issues/number-theoretic/primes.svg)](https://codeclimate.com/github/number-theoretic/primes/issues)
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/number-theoretic/primes.svg)](https://codeclimate.com/github/number-theoretic/primes/trends/churn)
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/number-theoretic/primes/main.svg)](https://codecov.io/gh/number-theoretic/primes)
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/number-theoretic/primes.svg)](https://codeclimate.com/github/number-theoretic/primes/trends/technical_debt)
[![Documentation](https://number-theoretic.github.io/primes/badge.svg)](https://number-theoretic.github.io/primes/source.html)
[![Package size](https://img.shields.io/bundlephobia/minzip/@number-theoretic/primes)](https://bundlephobia.com/result?p=@number-theoretic/primes)

## :link: Links

- http://cr.yp.to/primegen.html
- https://github.com/jbarham/primegen.go