Skip to content

Commit

Permalink
Merge pull request #5 from joelburget/patch-1
Browse files Browse the repository at this point in the history
Remove extra "npm i"s.
  • Loading branch information
Rajesh-Royal authored Mar 1, 2024
2 parents b5bb0c4 + 543b786 commit 1c895fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ This package generates a unique ID/String for different browsers. Like chrome, F
Using npm:
```JavaScript
//Install:
npm i npm i @rajesh896/broprint.js
npm i @rajesh896/broprint.js
```
Using Yarn:
```Javascript
//Install:
yarn add npm i @rajesh896/broprint.js
yarn add @rajesh896/broprint.js
```
<br/><br/>
## :tada: Examples
>### **In Reactjs**
```javascript
import { getCurrentBrowserFingerPrint } from "npm i @rajesh896/broprint.js";
import { getCurrentBrowserFingerPrint } from "@rajesh896/broprint.js";

getCurrentBrowserFingerPrint().then((fingerprint) => {
// fingerprint is your unique browser id.
Expand All @@ -56,7 +56,7 @@ getCurrentBrowserFingerPrint().then((fingerprint) => {
<br/>

>### Using this script in the html files
1. Execute `npm i npm i @rajesh896/broprint.js`
1. Execute `npm i @rajesh896/broprint.js`
2. Then -
```html
<!DOCTYPE html>
Expand All @@ -71,7 +71,7 @@ getCurrentBrowserFingerPrint().then((fingerprint) => {

<body>
<script type="module">
import("./node_modules/npm i @rajesh896/broprint.js/index.js").then((module) => {
import("./node_modules/@rajesh896/broprint.js/index.js").then((module) => {
module.getCurrentBrowserFingerPrint().then((fingerprint) => {
console.log(fingerprint);
})
Expand Down

0 comments on commit 1c895fe

Please sign in to comment.