Skip to content

Commit 40ee2dd

Browse files
committed
Fixed package name (unscoped)
1 parent c316c24 commit 40ee2dd

6 files changed

Lines changed: 13 additions & 13 deletions

File tree

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
44
[![Node.js](https://img.shields.io/badge/node.js-%3E%3D18-339933.svg)](package.json)
5-
[![npm](https://img.shields.io/badge/npm-pelock--stringencrypt-CB3837.svg)](https://www.npmjs.com/package/pelock-stringencrypt)
5+
[![npm](https://img.shields.io/badge/npm-stringencrypt-CB3837.svg)](https://www.npmjs.com/package/stringencrypt)
66

77

88
[StringEncrypt](https://www.stringencrypt.com) allows you to **encrypt strings and files** using a randomly generated algorithm, generating a unique decryption code (so-called [polymorphic code](https://www.pelock.com/articles/polymorphic-encryption-algorithms)) each time in the selected programming language.
@@ -183,10 +183,10 @@ The preferred way to install the StringEncrypt module is via [npm](https://www.n
183183
Run:
184184

185185
```bash
186-
npm install pelock-stringencrypt
186+
npm install stringencrypt
187187
```
188188

189-
The package is published at https://www.npmjs.com/package/pelock-stringencrypt
189+
The package is published at https://www.npmjs.com/package/stringencrypt
190190

191191
### Basic string encryption usage example (with default options)
192192

@@ -205,7 +205,7 @@ The package is published at https://www.npmjs.com/package/pelock-stringencrypt
205205
//
206206
///////////////////////////////////////////////////////////////////////////////
207207

208-
import { ErrorCode, StringEncrypt } from 'pelock-stringencrypt';
208+
import { ErrorCode, StringEncrypt } from 'stringencrypt';
209209

210210
const stringEncrypt = new StringEncrypt('YOUR-API-KEY-HERE'); // leave empty for demo mode
211211

@@ -265,7 +265,7 @@ console.log(String(result.source) + '\n');
265265
//
266266
///////////////////////////////////////////////////////////////////////////////
267267
268-
import { ErrorCode, Language, NewLine, StringEncrypt } from 'pelock-stringencrypt';
268+
import { ErrorCode, Language, NewLine, StringEncrypt } from 'stringencrypt';
269269
270270
const stringEncrypt = new StringEncrypt('YOUR-API-KEY-HERE'); // leave empty for demo mode
271271
stringEncrypt
@@ -338,7 +338,7 @@ console.log(String(result.source) + '\n');
338338
import { dirname, join } from 'node:path';
339339
import { fileURLToPath } from 'node:url';
340340
341-
import { ErrorCode, Language, NewLine, StringEncrypt } from 'pelock-stringencrypt';
341+
import { ErrorCode, Language, NewLine, StringEncrypt } from 'stringencrypt';
342342
343343
const __dirname = dirname(fileURLToPath(import.meta.url));
344344
@@ -413,7 +413,7 @@ This example shows how to get information about the current activation code and
413413
//
414414
///////////////////////////////////////////////////////////////////////////////
415415
416-
import { StringEncrypt } from 'pelock-stringencrypt';
416+
import { StringEncrypt } from 'stringencrypt';
417417
418418
const stringEncrypt = new StringEncrypt('');
419419
@@ -2488,7 +2488,7 @@ Legacy Syntax Highlighter library was replaced with modern Prism highlighter.
24882488
24892489
#### SDKs
24902490
2491-
* Official StringEncrypt JavaScript package published on npm (`pelock-stringencrypt`)
2491+
* Official StringEncrypt JavaScript package published on npm (`stringencrypt`)
24922492
* Official StringEncrypt PHP package published on Packagist
24932493
* StringEncrypt Python package on PyPi upgraded
24942494

examples/encrypt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
//
1313
///////////////////////////////////////////////////////////////////////////////
1414

15-
import { ErrorCode, Language, NewLine, StringEncrypt } from 'pelock-stringencrypt';
15+
import { ErrorCode, Language, NewLine, StringEncrypt } from 'stringencrypt';
1616

1717
const stringEncrypt = new StringEncrypt('YOUR-API-KEY-HERE'); // leave empty for demo mode
1818
stringEncrypt

examples/encrypt_file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import { dirname, join } from 'node:path';
1616
import { fileURLToPath } from 'node:url';
1717

18-
import { ErrorCode, Language, NewLine, StringEncrypt } from 'pelock-stringencrypt';
18+
import { ErrorCode, Language, NewLine, StringEncrypt } from 'stringencrypt';
1919

2020
const __dirname = dirname(fileURLToPath(import.meta.url));
2121

examples/encrypt_simple.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
//
1313
///////////////////////////////////////////////////////////////////////////////
1414

15-
import { ErrorCode, StringEncrypt } from 'pelock-stringencrypt';
15+
import { ErrorCode, StringEncrypt } from 'stringencrypt';
1616

1717
const stringEncrypt = new StringEncrypt('YOUR-API-KEY-HERE'); // leave empty for demo mode
1818

examples/is_demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
//
1313
///////////////////////////////////////////////////////////////////////////////
1414

15-
import { StringEncrypt } from 'pelock-stringencrypt';
15+
import { StringEncrypt } from 'stringencrypt';
1616

1717
const stringEncrypt = new StringEncrypt('');
1818

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "pelock-stringencrypt",
2+
"name": "stringencrypt",
33
"version": "1.0.0",
44
"description": "Official JavaScript client for the StringEncrypt.com Web API — generate polymorphic decryptors for many programming languages.",
55
"type": "module",

0 commit comments

Comments
 (0)