@e280/stz 0.0.0 → 0.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e280/stz",
3
- "version": "0.0.0",
3
+ "version": "0.1.0",
4
4
  "description": "everyday ts fns for everything",
5
5
  "license": "MIT",
6
6
  "author": "Chase Moskal <chasemoskal@gmail.com>",
@@ -26,7 +26,7 @@
26
26
  "_tscw": "tsc -w"
27
27
  },
28
28
  "devDependencies": {
29
- "@e280/science": "^0.0.6",
29
+ "@e280/science": "^0.1.0",
30
30
  "@types/node": "^24.3.0",
31
31
  "npm-run-all": "^4.1.5",
32
32
  "typescript": "^5.9.2"
package/s/pipe.ts CHANGED
@@ -7,6 +7,7 @@ export function pipe<I>(input: I) {
7
7
 
8
8
  export class Pipe<I> {
9
9
  #input: I
10
+ static with = pipe
10
11
 
11
12
  constructor(input: I) {
12
13
  this.#input = input
package/x/pipe.d.ts CHANGED
@@ -2,6 +2,7 @@ export type Piper<I, O> = (input: I) => O;
2
2
  export declare function pipe<I>(input: I): Pipe<I>;
3
3
  export declare class Pipe<I> {
4
4
  #private;
5
+ static with: typeof pipe;
5
6
  constructor(input: I);
6
7
  to<O>(fn: Piper<I, O>): Pipe<O>;
7
8
  done(): I;
package/x/pipe.js CHANGED
@@ -3,6 +3,7 @@ export function pipe(input) {
3
3
  }
4
4
  export class Pipe {
5
5
  #input;
6
+ static with = pipe;
6
7
  constructor(input) {
7
8
  this.#input = input;
8
9
  }
package/x/pipe.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"pipe.js","sourceRoot":"","sources":["../s/pipe.ts"],"names":[],"mappings":"AAGA,MAAM,UAAU,IAAI,CAAI,KAAQ;IAC/B,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,CAAA;AACvB,CAAC;AAED,MAAM,OAAO,IAAI;IAChB,MAAM,CAAG;IAET,YAAY,KAAQ;QACnB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAA;IACpB,CAAC;IAED,EAAE,CAAI,EAAe;QACpB,OAAO,IAAI,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAA;IACjC,CAAC;IAED,IAAI;QACH,OAAO,IAAI,CAAC,MAAM,CAAA;IACnB,CAAC;CACD"}
1
+ {"version":3,"file":"pipe.js","sourceRoot":"","sources":["../s/pipe.ts"],"names":[],"mappings":"AAGA,MAAM,UAAU,IAAI,CAAI,KAAQ;IAC/B,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,CAAA;AACvB,CAAC;AAED,MAAM,OAAO,IAAI;IAChB,MAAM,CAAG;IACT,MAAM,CAAC,IAAI,GAAG,IAAI,CAAA;IAElB,YAAY,KAAQ;QACnB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAA;IACpB,CAAC;IAED,EAAE,CAAI,EAAe;QACpB,OAAO,IAAI,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAA;IACjC,CAAC;IAED,IAAI;QACH,OAAO,IAAI,CAAC,MAAM,CAAA;IACnB,CAAC"}