substitutioncipher-js
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "substitutioncipher-js", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "This package helps in using substitution cipher inside any package", | ||
"main": "index.js", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"/dist" | ||
], | ||
"bugs": { | ||
@@ -11,4 +15,4 @@ "url": "https://github.com/SubramanyaKS/substitutioncipher/issues" | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"start": "node index.js" | ||
"build": "tsc", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
@@ -19,4 +23,4 @@ "repository": { | ||
}, | ||
"keywords": [], | ||
"author": "subramanyaks subramanyaks22@gmail.com", | ||
"keywords": ["substitutioncipher","substitution"], | ||
"author": "Subramanya KS", | ||
"license": "MIT", | ||
@@ -28,4 +32,5 @@ "private": false, | ||
"devDependencies": { | ||
"nodemon": "^2.0.22" | ||
"nodemon": "^2.0.22", | ||
"typescript": "^5.3.3" | ||
} | ||
} |
@@ -21,5 +21,5 @@ # Substitution Cipher | ||
``` | ||
```js | ||
//import library | ||
const {encrypt,decrypt} = require('substitutioncipher-js'); | ||
import {encrypt,decrypt} from ('substitutioncipher-js'); | ||
@@ -26,0 +26,0 @@ //declare plaintext |
5834
7
64
2