@zinaid/num 0.0.2 → 0.0.4

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
@@ -0,0 +1,3 @@
1
+ # Zinaid JS Num Package
2
+
3
+ This package provides number utility functions similar to Laravel's Num class facade.
package/dist/speller.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ToWords } from 'to-words';
2
2
  export declare class Speller {
3
- protected toWords: ToWords;
4
- constructor();
3
+ protected toWords: ToWords | undefined;
4
+ protected getToWords(): ToWords;
5
5
  spellNumber(num: number): string;
6
6
  }
7
7
  //# sourceMappingURL=speller.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"speller.d.ts","sourceRoot":"","sources":["../src/speller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,qBAAa,OAAO;IAChB,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC;;IAMpB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;CAG1C"}
1
+ {"version":3,"file":"speller.d.ts","sourceRoot":"","sources":["../src/speller.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAExC,qBAAa,OAAO;IAChB,SAAS,CAAC,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;IAEvC,SAAS,CAAC,UAAU,IAAI,OAAO;IAWxB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;CAG1C"}