@lapwy/js 0.1.1 → 0.1.2
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 +7 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lapwy/js
|
|
2
2
|
|
|
3
|
-
The lapwy tracker for any website or single-page app.
|
|
3
|
+
The [lapwy](https://lapwy.com) tracker for any website or single-page app.
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
6
|
npm install @lapwy/js
|
|
@@ -18,3 +18,9 @@ Route changes are followed on their own. `init` is safe to call more than once a
|
|
|
18
18
|
Also exported: `page`, `consent` and `notFound`.
|
|
19
19
|
|
|
20
20
|
With React, Next.js or Vue, use [`@lapwy/react`](https://www.npmjs.com/package/@lapwy/react), [`@lapwy/next`](https://www.npmjs.com/package/@lapwy/next) or [`@lapwy/vue`](https://www.npmjs.com/package/@lapwy/vue) instead of calling `init` yourself.
|
|
21
|
+
|
|
22
|
+
## Links
|
|
23
|
+
|
|
24
|
+
- [lapwy.com](https://lapwy.com): add your site and get its key (`lw_…`) under Settings → Install
|
|
25
|
+
- [SDK reference](https://lapwy.com/docs): every option, cookie modes, page grouping
|
|
26
|
+
- [llms.txt](https://lapwy.com/llms.txt): the same reference for AI coding agents
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lapwy/js",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "The lapwy tracker for any website or single-page app: init, track, page, consent, notFound.",
|
|
5
|
+
"homepage": "https://lapwy.com",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"type": "module",
|
|
7
8
|
"sideEffects": false,
|