kotori 0.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/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # kotori
2
+
3
+ Strongly-typed and composable internationalization library for React
4
+ no codegen
5
+ no json
6
+
7
+ building...
package/dist/index.cjs ADDED
@@ -0,0 +1,9 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ //#region src/isEven.ts
3
+ const isEven = (v) => !(v & 1);
4
+ //#endregion
5
+ //#region src/isOdd.ts
6
+ const isOdd = (v) => !isEven(v);
7
+ //#endregion
8
+ exports.isEven = isEven;
9
+ exports.isOdd = isOdd;
@@ -0,0 +1,7 @@
1
+ //#region src/isOdd.d.ts
2
+ declare const isOdd: (v: number) => boolean;
3
+ //#endregion
4
+ //#region src/isEven.d.ts
5
+ declare const isEven: (v: number) => boolean;
6
+ //#endregion
7
+ export { isEven, isOdd };
@@ -0,0 +1,7 @@
1
+ //#region src/isOdd.d.ts
2
+ declare const isOdd: (v: number) => boolean;
3
+ //#endregion
4
+ //#region src/isEven.d.ts
5
+ declare const isEven: (v: number) => boolean;
6
+ //#endregion
7
+ export { isEven, isOdd };
package/dist/index.mjs ADDED
@@ -0,0 +1,7 @@
1
+ //#region src/isEven.ts
2
+ const isEven = (v) => !(v & 1);
3
+ //#endregion
4
+ //#region src/isOdd.ts
5
+ const isOdd = (v) => !isEven(v);
6
+ //#endregion
7
+ export { isEven, isOdd };
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "kotori",
3
+ "description": "Strongly-typed and composable internationalization library for React",
4
+ "version": "0.0.0",
5
+ "scripts": {
6
+ "setup": "rm -rf node_modules && npm i && git init && husky",
7
+ "prepublishOnly": "npm run build",
8
+ "build": "tsdown",
9
+ "test": "vitest",
10
+ "lint": "npx @biomejs/biome check --write"
11
+ },
12
+ "files": [
13
+ "dist"
14
+ ],
15
+ "lint-staged": {
16
+ "*": [
17
+ "npm run lint"
18
+ ]
19
+ },
20
+ "type": "module",
21
+ "main": "./dist/index.cjs",
22
+ "types": "./dist/index.d.cts",
23
+ "exports": {
24
+ ".": {
25
+ "require": {
26
+ "types": "./dist/index.d.cts",
27
+ "default": "./dist/index.cjs"
28
+ },
29
+ "import": {
30
+ "types": "./dist/index.d.mts",
31
+ "default": "./dist/index.mjs"
32
+ }
33
+ }
34
+ },
35
+ "devDependencies": {
36
+ "@biomejs/biome": "^2.4.12",
37
+ "@types/node": "^25.6.0",
38
+ "@vitest/coverage-v8": "^4.1.5",
39
+ "husky": "^9.1.7",
40
+ "lint-staged": "^16.4.0",
41
+ "tsdown": "^0.21.10",
42
+ "tsx": "^4.21.0",
43
+ "typescript": "^6.0.3",
44
+ "vitest": "^4.1.5"
45
+ },
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "git+https://github.com/???/???.git"
49
+ },
50
+ "bugs": {
51
+ "url": "https://github.com/???/???/issues"
52
+ },
53
+ "author": "???",
54
+ "license": "???"
55
+ }