We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d655cce commit c3f3cc1Copy full SHA for c3f3cc1
README.md
@@ -14,7 +14,7 @@ AES-256-CBC encryption-at-rest for strings.
14
15
```js
16
var mongoose = require('mongoose');
17
-const encryptedString = require('../mongoose-encryptedstring');
+const encryptedString = require('@tsmx/mongoose-encryptedstring');
18
const key = 'YOUR KEY HERE';
19
20
// register the new type EncryptedString
package.json
@@ -3,6 +3,10 @@
3
"version": "1.0.0",
4
"description": "EncryptedString type for Mongoose schemas.",
5
"main": "mongoose-encryptedstring.js",
6
+ "engines": {
7
+ "node": ">=12.0.0",
8
+ "npm": ">=6.0.0"
9
+ },
10
"scripts": {
11
"test": "jest",
12
"test-coverage": "jest --coverage",
0 commit comments