grantcore 0.0.1
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 +19 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +33 -0
package/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# Grantcore
|
|
4
|
+
|
|
5
|
+
### Small, framework-neutral primitives for representing authorization grants.
|
|
6
|
+
|
|
7
|
+
[](package.json) [](package.json) [](https://signway.dev/)
|
|
8
|
+
|
|
9
|
+
[signway.dev](https://signway.dev/) · [mosa.sh](https://mosa.sh)
|
|
10
|
+
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm i grantcore
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
import { grantcore } from "grantcore";
|
|
19
|
+
```
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "grantcore",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Small, framework-neutral primitives for representing authorization grants.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": ["dist", "README.md"],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "tsc --project tsconfig.json",
|
|
19
|
+
"prepublishOnly": "npm run build"
|
|
20
|
+
},
|
|
21
|
+
"keywords": ["auth", "authorization", "grants", "identity"],
|
|
22
|
+
"homepage": "https://signway.dev/",
|
|
23
|
+
"author": "Mosanic <dev@mosanic.io>",
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"engines": {"node": ">=20"},
|
|
26
|
+
"publishConfig": {"access": "public"},
|
|
27
|
+
"devDependencies": {"typescript": "^5.9.3"},
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/mosanic/mosa-platform.git",
|
|
31
|
+
"directory": "packages/grantcore"
|
|
32
|
+
}
|
|
33
|
+
}
|