We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc666ad commit e7d4f31Copy full SHA for e7d4f31
README.md
@@ -6,6 +6,32 @@
6
7
Because I faced this problem while making [Meta Preview](https://twitter.com/deadcoder0904/status/1048129409885122560)
8
9
+## Usage
10
+
11
+Just replace the `script` variable in `index.js` with the contents of your inline script & run `index.js`
12
13
+## Example
14
15
+If your inline script is like -
16
17
+```js
18
+<script>alert('Yo Yo Yo!')</script>
19
+```
20
21
+then replace `script` variable in `index.js` like -
22
23
24
+const script = `alert('Yo Yo Yo!')`;
25
26
27
+& type in terminal
28
29
+```bash
30
+node index.js
31
32
33
+Voila, it will copy the hash to the clipboard.
34
35
## Credits
36
37
All the credits go to https://stackoverflow.com/a/38554505/6141587
0 commit comments