Skip to content

Commit ac639de

Browse files
authored
fix package name in docs
1 parent 067c8f4 commit ac639de

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@ Existing conversations (please notify if this needs an update):
2020
## Install
2121

2222
```shell
23-
npm install custom-attributes --save
23+
npm install @lume/custom-attributes --save
2424
```
2525

2626
Add as a script tag:
2727

2828
```html
29-
<script src="node_modules/custom-attributes/attr.js" defer></script>
29+
<script src="node_modules/@lume/custom-attributes/dist/index.js" type="module"></script>
3030
```
3131

3232
Or import as an ES module:
3333

3434
```js
35-
import customAttributes from 'custom-attributes'
35+
import {customAttributes} from '@lume/custom-attributes'
3636
```
3737

3838
Or you can just import the CustomAttributeRegistry and create your own instance:
3939

4040
```js
41-
import {CustomAttributeRegistry} from 'custom-attributes'
41+
import {CustomAttributeRegistry} from '@lume/custom-attributes'
4242

4343
const customAttributes = new CustomAttributeRegistry(document)
4444
```

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"repository": {
2626
"type": "git",
27-
"url": "git+https://github.com/matthewp/custom-attributes.git"
27+
"url": "git+https://github.com/lume/custom-attributes.git"
2828
},
2929
"keywords": [
3030
"web",
@@ -33,9 +33,9 @@
3333
"author": "Matthew Phillips",
3434
"license": "BSD-2-Clause",
3535
"bugs": {
36-
"url": "https://github.com/matthewp/custom-attributes/issues"
36+
"url": "https://github.com/lume/custom-attributes/issues"
3737
},
38-
"homepage": "https://github.com/matthewp/custom-attributes#readme",
38+
"homepage": "https://github.com/lume/custom-attributes#readme",
3939
"devDependencies": {
4040
"@lume/cli": "^0.14.0",
4141
"prettier": "3.0.3",

0 commit comments

Comments
 (0)