Skip to content

Commit

Permalink
fix: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dword-design authored Nov 23, 2023
1 parent a8cfbb0 commit 3dbb5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ $ yarn add package-name-regex

```js
import packageNameRegex from 'package-name-regex'
// or import { packageNameRegex } from 'package-name-regex'
// Or import { packageNameRegex } from 'package-name-regex'

packageNameRegex.test('some-package') // true
packageNameRegex.test('example.com') // true
Expand Down

0 comments on commit 3dbb5d1

Please sign in to comment.