Skip to content

Commit

Permalink
Simplified the Usage section of the Readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
kkomelin committed Dec 20, 2023
1 parent 1c78ffd commit 9d9dbab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,10 @@ Please note that DOMPurify library [doesn't follow Semantic Versioning](https://
## Usage

```javascript
// Import:
import { sanitize } from "isomorphic-dompurify";
```

```javascript
// Sanitize:
const clean = sanitize(dirtyString);
```

Expand Down

0 comments on commit 9d9dbab

Please sign in to comment.