@danielsimonjr/mathts-trigonometry 0.1.65 → 0.1.66

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 CHANGED
@@ -1,23 +1,23 @@
1
- # @danielsimonjr/mathts-trigonometry
2
-
3
- Standalone trigonometry for [MathTS](https://github.com/danielsimonjr/mathts).
4
-
5
- A focused entry point over the `trigonometry` typed-function domain in
6
- [`@danielsimonjr/mathts-functions`](https://www.npmjs.com/package/@danielsimonjr/mathts-functions).
7
- The implementation is re-exported, not duplicated. These are MathTS typed
8
- functions (polymorphic dispatch across number / Complex / Fraction / BigNumber /
9
- Matrix where supported).
10
-
11
- ## Install
12
-
13
- ```sh
14
- npm install @danielsimonjr/mathts-trigonometry
15
- ```
16
-
17
- ## What it exports
18
-
19
- `sin`, `cos`, `tan`, `csc`, `sec`, `cot`, `asin`, `acos`, `atan`, `atan2`, `acsc`, `asec`, `acot`, `asinh`, `acosh`, `atanh`, `toRadians`, `toDegrees`, `hypot` (plus the `typedTrigonometry` bundle).
20
-
21
- ## License
22
-
23
- MIT (c) Daniel Simon Jr.
1
+ # @danielsimonjr/mathts-trigonometry
2
+
3
+ Standalone trigonometry for [MathTS](https://github.com/danielsimonjr/mathts).
4
+
5
+ A focused entry point over the `trigonometry` typed-function domain in
6
+ [`@danielsimonjr/mathts-functions`](https://www.npmjs.com/package/@danielsimonjr/mathts-functions).
7
+ The implementation is re-exported, not duplicated. These are MathTS typed
8
+ functions (polymorphic dispatch across number / Complex / Fraction / BigNumber /
9
+ Matrix where supported).
10
+
11
+ ## Install
12
+
13
+ ```sh
14
+ npm install @danielsimonjr/mathts-trigonometry
15
+ ```
16
+
17
+ ## What it exports
18
+
19
+ `sin`, `cos`, `tan`, `csc`, `sec`, `cot`, `asin`, `acos`, `atan`, `atan2`, `acsc`, `asec`, `acot`, `asinh`, `acosh`, `atanh`, `toRadians`, `toDegrees`, `hypot` (plus the `typedTrigonometry` bundle).
20
+
21
+ ## License
22
+
23
+ MIT (c) Daniel Simon Jr.
package/dist/index.d.ts CHANGED
@@ -1 +1,11 @@
1
- export { acos, acosh, acot, acsc, asec, asin, asinh, atan, atan2, atanh, cos, cot, csc, hypot, sec, sin, tan, toDegrees, toRadians, typedTrigonometry } from '@danielsimonjr/mathts-functions';
1
+ /**
2
+ * @danielsimonjr/mathts-trigonometry
3
+ *
4
+ * Standalone trigonometric functions for MathTS. Re-exports the `trigonometry` typed-function domain
5
+ * from {@link @danielsimonjr/mathts-functions} as a focused package. The
6
+ * implementation lives in functions; this is an entry point, not a copy.
7
+ *
8
+ * @packageDocumentation
9
+ */
10
+ export { sin, cos, tan, csc, sec, cot, asin, acos, atan, atan2, acsc, asec, acot, asinh, acosh, atanh, toRadians, toDegrees, hypot, typedTrigonometry, } from '@danielsimonjr/mathts-functions';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,GAAG,EACH,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,KAAK,EACL,KAAK,EACL,SAAS,EACT,SAAS,EACT,KAAK,EACL,iBAAiB,GAClB,MAAM,iCAAiC,CAAC"}
package/package.json CHANGED
@@ -1,59 +1,59 @@
1
- {
2
- "name": "@danielsimonjr/mathts-trigonometry",
3
- "version": "0.1.65",
4
- "description": "Standalone trigonometric functions for MathTS, re-exported as a focused package",
5
- "author": "Daniel Simon Jr.",
6
- "license": "MIT",
7
- "type": "module",
8
- "main": "./dist/index.js",
9
- "module": "./dist/index.js",
10
- "types": "./dist/index.d.ts",
11
- "exports": {
12
- ".": {
13
- "import": "./dist/index.js",
14
- "types": "./dist/index.d.ts"
15
- }
16
- },
17
- "files": [
18
- "dist",
19
- "README.md"
20
- ],
21
- "scripts": {
22
- "build": "tsup src/index.ts --format esm --dts --clean",
23
- "dev": "tsup src/index.ts --format esm --dts --watch",
24
- "test": "vitest run",
25
- "test:watch": "vitest",
26
- "test:coverage": "vitest run --coverage",
27
- "typecheck": "tsc --noEmit",
28
- "lint": "eslint src --ext .ts",
29
- "lint:fix": "eslint src --ext .ts --fix",
30
- "clean": "rm -rf dist",
31
- "build:prod": "tsup src/index.ts --format esm --dts --clean --minify --treeshake"
32
- },
33
- "dependencies": {
34
- "@danielsimonjr/mathts-functions": "^0.64.0",
35
- "typed-function": "^4.0.0"
36
- },
37
- "devDependencies": {
38
- "@types/node": "^26.2.0",
39
- "tsup": "^8.0.0",
40
- "typescript": "^5.3.0",
41
- "vitest": "^4.1.10"
42
- },
43
- "publishConfig": {
44
- "access": "public"
45
- },
46
- "repository": {
47
- "type": "git",
48
- "url": "git+https://github.com/danielsimonjr/MathTS.git",
49
- "directory": "trigonometry"
50
- },
51
- "keywords": [
52
- "math",
53
- "typescript",
54
- "trigonometry",
55
- "sin",
56
- "cos",
57
- "tan"
58
- ]
59
- }
1
+ {
2
+ "name": "@danielsimonjr/mathts-trigonometry",
3
+ "version": "0.1.66",
4
+ "description": "Standalone trigonometric functions for MathTS, re-exported as a focused package",
5
+ "author": "Daniel Simon Jr.",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "./dist/index.js",
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.js",
14
+ "types": "./dist/index.d.ts"
15
+ }
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "README.md"
20
+ ],
21
+ "scripts": {
22
+ "build": "tsup src/index.ts --format esm --clean && tsc -p tsconfig.dts.json",
23
+ "dev": "tsup src/index.ts --format esm --dts --watch",
24
+ "test": "bun test",
25
+ "test:watch": "vitest",
26
+ "test:coverage": "bun test --coverage",
27
+ "typecheck": "tsc --noEmit",
28
+ "lint": "oxlint src",
29
+ "lint:fix": "oxlint src --fix",
30
+ "clean": "rm -rf dist",
31
+ "build:prod": "tsup src/index.ts --format esm --dts --clean --minify --treeshake"
32
+ },
33
+ "dependencies": {
34
+ "@danielsimonjr/mathts-functions": "^0.64.3",
35
+ "typed-function": "^4.0.0"
36
+ },
37
+ "devDependencies": {
38
+ "@types/node": "^26.4.0",
39
+ "tsup": "^8.0.0",
40
+ "typescript": "^7.0.2",
41
+ "vitest": "^5.0.0"
42
+ },
43
+ "publishConfig": {
44
+ "access": "public"
45
+ },
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "git+https://github.com/danielsimonjr/MathTS.git",
49
+ "directory": "trigonometry"
50
+ },
51
+ "keywords": [
52
+ "math",
53
+ "typescript",
54
+ "trigonometry",
55
+ "sin",
56
+ "cos",
57
+ "tan"
58
+ ]
59
+ }