Skip to content

Commit 89b290f

Browse files
Updated README.md and package.json
1 parent 6f4ed7b commit 89b290f

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ It only applies styles and does not actually delete information, so censored inf
1111
**Do not use it for sensitive information.**
1212

1313
## Demo
14-
To be added later
14+
https://kilimanjaro-a2.github.io/censored-style-js/
1515

1616
## Requirement
1717
In order to use this script, the user's browser must support Web Components.
@@ -20,7 +20,7 @@ In order to use this script, the user's browser must support Web Components.
2020
In order to use scripts, you must first load the script, for example, in the head tag.
2121
```html
2222
<head>
23-
<script src="censored-style.js"></script>
23+
<script src="https://cdn.jsdelivr.net/gh/Kilimanjaro-a2/censored-style-js@gh-pages/censored-style.js"></script>
2424
</head>
2525
```
2626

@@ -45,8 +45,6 @@ You can set the options by specifying arguments to the censored-style tag.
4545
<p>This is a <c>censored text</c>.</p>
4646
</censored-style>
4747
```
48-
## Install
49-
To be added later
5048

5149
## Licence
5250
MIT License

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88
"Style",
99
"Web Components",
1010
"Censored",
11-
"Redacted"
11+
"Redacted",
12+
"censored-style"
1213
],
1314
"author": "Kilimanjaro-a2",
1415
"repository": {
1516
"type": "git",
1617
"url": "https://github.com/Kilimanjaro-a2/censored-style-js.git"
1718
},
18-
"main": "dist/index.js",
19+
"main": "public/censored-style.js",
1920
"license": "MIT",
2021
"bugs": {
2122
"url": "https://github.com/Kilimanjaro-a2/censored-style-js/issues"
@@ -29,8 +30,7 @@
2930
"test": "jest"
3031
},
3132
"dependencies": {
32-
"validate-color": "^2.1.1",
33-
"xss": "^1.0.9"
33+
"validate-color": "^2.1.1"
3434
},
3535
"devDependencies": {
3636
"@types/babel__core": "^7.1.15",

0 commit comments

Comments
 (0)