crimlab 0.0.1 → 0.0.3

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,6 +1,10 @@
1
- # crimlab for JavaScript
1
+ # crimlab for JavaScript <img src="https://raw.githubusercontent.com/rootcoder007/crimlab/main/man/figures/logo.png" align="right" height="139" alt="crimlab hex logo" />
2
2
 
3
- Criminology and sociolegal statistics: the C++ kernels of the R and Python
3
+ [![Website](https://img.shields.io/badge/website-crimlab.dev-b8432a)](https://crimlab.dev/)
4
+
5
+ Documentation, guides and every function: <https://crimlab.dev/>.
6
+
7
+ Statistical Toolkit for Criminology and Sociolegal Research: the C++ kernels of the R and Python
4
8
  packages [crimlab](https://github.com/rootcoder007/crimlab), built to
5
9
  WebAssembly, with the `crimlab` command. No dependencies; the module sees
6
10
  no files and no network.
@@ -28,3 +32,11 @@ throws an `Error` whose message names the function and what is wrong.
28
32
 
29
33
  Node 18 or later, or any browser with WebAssembly (the module is fetched
30
34
  next to `lib/`). Licence: Apache-2.0 WITH LLVM-exception.
35
+
36
+ ## Citation
37
+
38
+ > Ruhela, V. S. (2026). *crimlab: Statistical Toolkit for Criminology and
39
+ > Sociolegal Research.* <https://github.com/rootcoder007/crimlab>
40
+
41
+ `CITATION.cff` in the repository holds the same reference for reference
42
+ managers; in R, `citation("crimlab")` prints it.
package/dist/crimlab.wasm CHANGED
Binary file
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2
2
  //
3
- // crimlab: criminology and sociolegal statistics. Every function of the R
3
+ // crimlab: Statistical Toolkit for Criminology and Sociolegal Research. Every function of the R
4
4
  // and Python packages crimlab, by its R name, from the C++ kernels built
5
5
  // to WebAssembly. A function takes its named arguments as an object and
6
6
  // returns its result as JSON.parse gives it: a data frame is an object of
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "crimlab",
3
- "version": "0.0.1",
4
- "description": "Criminology and sociolegal statistics: every function of the R and Python packages crimlab, from the C++ kernels as WebAssembly, and the crimlab command",
5
- "keywords": ["statistics", "criminology", "forensics", "policing", "courts", "webassembly"],
3
+ "version": "0.0.3",
4
+ "description": "Statistical Toolkit for Criminology and Sociolegal Research: every function of the R and Python packages crimlab, from the C++ kernels as WebAssembly, and the crimlab command",
5
+ "keywords": ["statistics", "criminology", "sociolegal", "forensics", "policing", "courts", "corrections", "sentencing", "disparity", "likelihood-ratio", "causal-inference", "spatial-statistics", "webassembly"],
6
6
  "license": "Apache-2.0 WITH LLVM-exception",
7
7
  "author": "Vansh Singh Ruhela (https://orcid.org/0009-0004-1750-3592)",
8
- "homepage": "https://github.com/rootcoder007/crimlab/tree/main/bindings/npm#readme",
8
+ "homepage": "https://crimlab.dev/",
9
9
  "repository": {
10
10
  "type": "git",
11
11
  "url": "git+https://github.com/rootcoder007/crimlab.git",