File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ npm i -P @nogsantos/hash
3030
3131<body >
3232
33- <script src =" ./dist/hash.umd.min.js" ></script >
33+ <script src =" ./node_modules/@nogsantos/hash/ dist/hash.umd.min.js" ></script >
3434 <script >
3535 var md5 = new Hash.Md5 ();
3636 var md5Results = [
@@ -57,17 +57,17 @@ npm i -P @nogsantos/hash
5757
5858```
5959
60- #### Output:
60+ #### Output
6161
6262![ Console] ( https://res.cloudinary.com/nogsantos/image/upload/v1517849815/Screenshot_from_2018-02-05_14-53-31_qk4smh.png )
6363
6464### Node
6565
6666``` javascript
67- const Md5 = require (' ./dist /hash' ).Md5 ;
68- const Sha1 = require (' ./dist /hash' ).Sha1 ;
67+ const Md5 = require (' @nogsantos /hash' ).Md5 ;
68+ const Sha1 = require (' @nogsantos /hash' ).Sha1 ;
6969// or just
70- // const { Md5, Sha1} = require('./dist /hash');
70+ // const { Md5, Sha1} = require('@nogsantos /hash');
7171
7272const md5 = new Md5 ();
7373console .log (' md5: ' , md5 .encode (' Lorem ipsum dolor sit, amet consectetur adipisicing elit.' ));
You can’t perform that action at this time.
0 commit comments