@sciexpr/chemistry 0.1.0 → 0.1.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 +16 -0
- package/package.json +8 -7
package/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# @sciexpr/chemistry
|
|
2
|
+
|
|
3
|
+
> Scientific Expression Engine — Chemistry utilities
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Periodic table data (element lookup, properties)
|
|
8
|
+
- Chemical formula validation
|
|
9
|
+
- Reaction balancing
|
|
10
|
+
- Oxidation number calculator
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
```ts
|
|
15
|
+
import { PERIODIC_TABLE, FormulaValidator, ReactionBalancer } from '@sciexpr/chemistry';
|
|
16
|
+
```
|
package/package.json
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sciexpr/chemistry",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Scientific Expression Engine - Chemistry utilities (periodic table, validator, reaction balancer)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
|
-
"module": "./dist/index.
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
|
-
"import": "./dist/index.
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
13
|
"require": "./dist/index.cjs"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"sideEffects": false,
|
|
17
17
|
"files": [
|
|
18
|
-
"dist"
|
|
18
|
+
"dist",
|
|
19
|
+
"README.md"
|
|
19
20
|
],
|
|
20
21
|
"keywords": [
|
|
21
22
|
"scientific",
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
"access": "public"
|
|
43
44
|
},
|
|
44
45
|
"dependencies": {
|
|
45
|
-
"@sciexpr/core": "0.1.
|
|
46
|
+
"@sciexpr/core": "0.1.1"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
48
49
|
"tsup": "^8.0.0",
|
|
@@ -51,8 +52,8 @@
|
|
|
51
52
|
"rimraf": "^5.0.0"
|
|
52
53
|
},
|
|
53
54
|
"scripts": {
|
|
54
|
-
"build": "tsup
|
|
55
|
-
"dev": "tsup
|
|
55
|
+
"build": "tsup",
|
|
56
|
+
"dev": "tsup --watch",
|
|
56
57
|
"lint": "tsc --noEmit",
|
|
57
58
|
"clean": "rimraf dist",
|
|
58
59
|
"test": "vitest run"
|