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 @@ -33,18 +33,18 @@ This package generates a unique ID/String for different browsers. Like chrome, F
3333Using npm:
3434``` JavaScript
3535// Install:
36- npm i npm i @rajesh896/ broprint .js
36+ npm i @rajesh896/ broprint .js
3737```
3838Using Yarn:
3939``` Javascript
4040// Install:
41- yarn add npm i @rajesh896/ broprint .js
41+ yarn add @rajesh896/ broprint .js
4242```
4343<br /><br />
4444## :tada : Examples
4545> ### ** In Reactjs**
4646``` javascript
47- import { getCurrentBrowserFingerPrint } from " npm i @rajesh896/broprint.js" ;
47+ import { getCurrentBrowserFingerPrint } from " @rajesh896/broprint.js" ;
4848
4949getCurrentBrowserFingerPrint ().then ((fingerprint ) => {
5050 // fingerprint is your unique browser id.
@@ -56,7 +56,7 @@ getCurrentBrowserFingerPrint().then((fingerprint) => {
5656<br />
5757
5858> ### Using this script in the html files
59- 1 . Execute ` npm i npm i @rajesh896/broprint.js `
59+ 1 . Execute ` npm i @rajesh896/broprint.js `
6060 2 . Then -
6161``` html
6262<!DOCTYPE html>
@@ -71,7 +71,7 @@ getCurrentBrowserFingerPrint().then((fingerprint) => {
7171
7272<body >
7373 <script type =" module" >
74- import (" ./node_modules/npm i @rajesh896/broprint.js/index.js" ).then ((module ) => {
74+ import (" ./node_modules/@rajesh896/broprint.js/index.js" ).then ((module ) => {
7575 module .getCurrentBrowserFingerPrint ().then ((fingerprint ) => {
7676 console .log (fingerprint);
7777 })
You can’t perform that action at this time.
0 commit comments