peasy-seo-embed 1.0.0
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/LICENSE +21 -0
- package/README.md +285 -0
- package/dist/embed.esm.js +2856 -0
- package/dist/embed.min.js +1880 -0
- package/dist/index.d.ts +15 -0
- package/package.json +41 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* peasy-seo-embed -- TypeScript declarations
|
|
3
|
+
*
|
|
4
|
+
* The embed script is self-executing. Simply include it to activate widgets.
|
|
5
|
+
* All configuration is provided via data-* attributes on DOM elements.
|
|
6
|
+
*
|
|
7
|
+
* Usage:
|
|
8
|
+
* <div data-peasy-seo="format" data-slug="pdf" data-theme="light"></div>
|
|
9
|
+
* <script src="https://cdn.jsdelivr.net/npm/peasy-seo-embed@1/dist/embed.min.js"></script>
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
declare module 'peasy-seo-embed' {
|
|
13
|
+
// Self-executing -- no exports needed
|
|
14
|
+
// Use data-peasy-seo attributes to create widgets
|
|
15
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "peasy-seo-embed",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Embed PeasySEO widgets on any website. Lightweight (<8KB gzipped), zero dependencies, Shadow DOM isolation, 3 themes.",
|
|
5
|
+
"main": "dist/embed.min.js",
|
|
6
|
+
"module": "dist/embed.esm.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/",
|
|
10
|
+
"README.md",
|
|
11
|
+
"LICENSE"
|
|
12
|
+
],
|
|
13
|
+
"keywords": [
|
|
14
|
+
"peasy",
|
|
15
|
+
"embed",
|
|
16
|
+
"widget",
|
|
17
|
+
"shadow-dom",
|
|
18
|
+
"zero-dependencies",
|
|
19
|
+
"seo",
|
|
20
|
+
"peasyseo.com",
|
|
21
|
+
"seo",
|
|
22
|
+
"meta-tags",
|
|
23
|
+
"sitemap",
|
|
24
|
+
"robots",
|
|
25
|
+
"audit",
|
|
26
|
+
"search-engine"
|
|
27
|
+
],
|
|
28
|
+
"homepage": "https://widget.peasyseo.com",
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "https://github.com/peasytools/peasy-seo-embed"
|
|
32
|
+
},
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/peasytools/peasy-seo-embed/issues"
|
|
35
|
+
},
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"author": "Peasy Tools <hello@peasytools.com>",
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
}
|
|
41
|
+
}
|