Skip to content

Commit 87c3104

Browse files
committed
chore: wip
1 parent f32e050 commit 87c3104

5 files changed

Lines changed: 192 additions & 166 deletions

File tree

.vscode/dictionary.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ preinstall
7676
primality
7777
primeinc
7878
PRINTABLESTRING
79+
PRNG
7980
pssobj
8081
quickfix
8182
rootca

packages/prime/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!-- [![npm downloads][npm-downloads-src]][npm-downloads-href] -->
77
<!-- [![Codecov][codecov-src]][codecov-href] -->
88

9-
# ts-prime
9+
# ts-prime-gen
1010

1111
> A TypeScript implementation of probabilistic prime number generation with a focus on performance and security.
1212
@@ -25,21 +25,21 @@
2525

2626
```bash
2727
# bun
28-
bun install ts-prime
28+
bun install ts-prime-gen
2929

3030
# npm
31-
npm install ts-prime
31+
npm install ts-prime-gen
3232

3333
# pnpm
34-
pnpm install ts-prime
34+
pnpm install ts-prime-gen
3535
```
3636

3737
## Get Started
3838

3939
After installing the package, you can import and use the prime number generation functions:
4040

4141
```ts
42-
import { prime } from 'ts-prime'
42+
import { prime } from 'ts-prime-gen'
4343

4444
// Generate a 1024-bit probable prime
4545
prime.generateProbablePrime(1024, {}, (err, num) => {
@@ -179,7 +179,7 @@ For casual chit-chat with others using this package:
179179

180180
## Postcardware
181181

182-
"Software that is free, but hopes for a postcard." We love receiving postcards from around the world showing where `ts-prime` is being used! We showcase them on our website too.
182+
"Software that is free, but hopes for a postcard." We love receiving postcards from around the world showing where `ts-prime-gen` is being used! We showcase them on our website too.
183183

184184
Our address: Stacks.js, 12665 Village Ln #2306, Playa Vista, CA 90094, United States 🌎
185185

@@ -204,10 +204,10 @@ The MIT License (MIT). Please see [LICENSE](https://github.com/stacksjs/stacks/t
204204
Made with 💙
205205

206206
<!-- Badges -->
207-
[npm-version-src]: https://img.shields.io/npm/v/@stacksjs/ts-prime?style=flat-square
208-
[npm-version-href]: https://npmjs.com/package/@stacksjs/ts-prime
207+
[npm-version-src]: https://img.shields.io/npm/v/@stacksjs/ts-prime-gen?style=flat-square
208+
[npm-version-href]: https://npmjs.com/package/@stacksjs/ts-prime-gen
209209
[github-actions-src]: https://img.shields.io/github/actions/workflow/status/stacksjs/ts-security/ci.yml?style=flat-square&branch=main
210210
[github-actions-href]: https://github.com/stacksjs/ts-security/actions?query=workflow%3Aci
211211

212-
<!-- [codecov-src]: https://img.shields.io/codecov/c/gh/stacksjs/ts-prime/main?style=flat-square
213-
[codecov-href]: https://codecov.io/gh/stacksjs/ts-prime -->
212+
<!-- [codecov-src]: https://img.shields.io/codecov/c/gh/stacksjs/ts-prime-gen/main?style=flat-square
213+
[codecov-href]: https://codecov.io/gh/stacksjs/ts-prime-gen -->

packages/prime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "ts-prime",
2+
"name": "ts-prime-gen",
33
"type": "module",
44
"version": "0.0.0",
55
"description": "A prime number library.",

0 commit comments

Comments
 (0)