@ferscloud/fers-calculation 0.2.60 → 0.2.62

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
@@ -185,8 +185,35 @@ const mr = res.result.results.loadcases["…"].member_results["1"];
185
185
 
186
186
  Off by default to keep the payload lean; omitted from `member_results` when not requested.
187
187
 
188
+ ## Attribution
189
+
190
+ Free-tier results carry an `attribution` object minted inside the solver.
191
+ Premium results (solved with a valid solve token) do not, so the same code
192
+ credits FERS on the free tier and white-labels on Pro:
193
+
194
+ ```ts
195
+ import { fersAttributionHtml } from "@ferscloud/fers-calculation-web/badge";
196
+
197
+ // "" when the result came back from a Pro solve.
198
+ const credit = fersAttributionHtml(res);
199
+ ```
200
+
201
+ `getFersAttribution`, `fersAttributionText` and `createFersBadge` are also
202
+ exported. All of them accept the envelope, the parsed model or the results
203
+ bundle, and all return nothing for a Pro result or an error envelope.
204
+
205
+ On 0.2.61 this subpath resolved only under a bundler; plain Node ESM needed
206
+ `/badge.js`. From 0.2.62 the package ships an `exports` map and both forms work
207
+ everywhere.
208
+
209
+ Using the free tier in an application? Please display the credit. It is the
210
+ only thing the free tier asks of you.
211
+
188
212
  ## Links
189
213
 
190
- - [Full documentation & getting started](https://ferscloud.com/getting-started)
214
+ - [Structural analysis in JavaScript](https://ferscloud.com/structural-analysis-javascript) — why run the solver client-side
215
+ - [JavaScript documentation](https://ferscloud.com/docs/javascript) — bundler setup, error codes, types, solve tokens
216
+ - [Full documentation](https://ferscloud.com/getting-started) — every route into FERS
217
+ - [llms-full.txt](https://ferscloud.com/llms-full.txt) — the whole documentation in one fetch, for agents
191
218
  - [FERS Cloud](https://ferscloud.com)
192
- - [FERS_core Python package](https://pypi.org/project/fers-core/)
219
+ - [FERS Python package](https://pypi.org/project/fers/) — `pip install FERS`
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ferscloud/fers-calculation",
3
- "version": "0.2.60",
3
+ "version": "0.2.62",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,8 +12,38 @@
12
12
  "fers_calculations.d.ts"
13
13
  ],
14
14
  "main": "fers_calculations.js",
15
- "homepage": "https://ferscloud.com",
15
+ "homepage": "https://ferscloud.com/structural-analysis-javascript",
16
16
  "types": "fers_calculations.d.ts",
17
+ "description": "Structural analysis FEM solver for beams, frames and trusses, compiled from Rust to WebAssembly. Runs in the browser or in Node with no server round-trip. Includes Eurocode EN 1993-1-1 steel checks.",
18
+ "keywords": [
19
+ "structural-analysis",
20
+ "structural-engineering",
21
+ "finite-element",
22
+ "finite-element-analysis",
23
+ "fem",
24
+ "fea",
25
+ "solver",
26
+ "beam",
27
+ "frame",
28
+ "truss",
29
+ "stiffness-matrix",
30
+ "bending-moment",
31
+ "shear-force",
32
+ "deflection",
33
+ "buckling",
34
+ "eurocode",
35
+ "en1993",
36
+ "steel-design",
37
+ "wasm",
38
+ "webassembly",
39
+ "rust",
40
+ "engineering",
41
+ "civil-engineering",
42
+ "cad"
43
+ ],
44
+ "bugs": {
45
+ "url": "https://github.com/Jeroen124/FERS_calculations/issues"
46
+ },
17
47
  "publishConfig": {
18
48
  "access": "public"
19
49
  }