arche 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/es.js +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +2 -2
- package/test.html +3 -3
package/README.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|

|
|
3
3
|
> Arche (/ˈɑːrki/; Ancient Greek: ἀρχή) is a Greek word with primary senses "beginning", "origin" or "source of action" (ἐξ' ἀρχῆς: from the beginning, οr ἐξ' ἀρχῆς λόγος: the original argument), and later "first principle" or "element".
|
|
4
4
|
|
|
5
|
+
Source code: [GitHub](https://github.com/richytong/Arche) |
|
|
6
|
+
License: [CFOSS](https://cloutsworld.com/en-us/legal/license/cfoss)
|
|
7
|
+
|
|
5
8
|

|
|
6
9
|
[](https://codecov.io/gh/richytong/arche)
|
|
7
10
|
[](https://www.npmjs.com/package/arche)
|
|
@@ -51,12 +54,12 @@ npm i arche
|
|
|
51
54
|
with browser script, sets `window.Arche`
|
|
52
55
|
|
|
53
56
|
```html
|
|
54
|
-
<script src="https://
|
|
57
|
+
<script src="https://cdn.jsdelivr.net/npm/arche"></script>
|
|
55
58
|
```
|
|
56
59
|
|
|
57
60
|
with [ES Modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules)
|
|
58
61
|
```javascript
|
|
59
|
-
import Arche from 'https://
|
|
62
|
+
import Arche from 'https://cdn.jsdelivr.net/npm/arche/es.js'
|
|
60
63
|
```
|
|
61
64
|
|
|
62
65
|
Set `DocumentElement` globally for a better developer experience.
|
package/es.js
CHANGED
package/index.js
CHANGED
package/index.mjs
CHANGED
package/package.json
CHANGED
package/test.html
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<title>test</title>
|
|
6
|
-
<script src="https://
|
|
7
|
-
<script src="https://
|
|
8
|
-
<script src="https://
|
|
6
|
+
<script src="https://cdn.jsdelivr.net/npm/react@16.13.1/umd/react.production.min.js" crossorigin></script>
|
|
7
|
+
<script src="https://cdn.jsdelivr.net/npm/react-dom@16.13.1/umd/react-dom.production.min.js" crossorigin></script>
|
|
8
|
+
<script src="https://cdn.jsdelivr.net/npm/styled-components@6.1.19/dist/styled-components.min.js"></script>
|
|
9
9
|
<script src="/index.js"></script>
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|