@at-field/utils 3.0.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.
@@ -0,0 +1,2 @@
1
+ "use strict";exports.capitalize=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},exports.multiply=function(t,r){return t*r},exports.subtract=function(t,r){return t-r},exports.sum=function(t,r){return t+r},exports.trim=function(t){return t.trim()};
2
+ //# sourceMappingURL=index.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs.js","sources":["../src/string.ts","../src/math.ts"],"sourcesContent":["export function capitalize(str: string): string {\n return str.charAt(0).toUpperCase() + str.slice(1);\n}\n\nexport function trim(str: string): string {\n return str.trim();\n}\n","export function sum(a: number, b: number): number {\n return a + b;\n}\n\nexport function multiply(a: number, b: number): number {\n return a * b;\n}\n\nexport function subtract(a: number, b: number): number {\n return a - b;\n}\n"],"names":["str","charAt","toUpperCase","slice","a","b","trim"],"mappings":"gCAAM,SAAqBA,GACzB,OAAOA,EAAIC,OAAO,GAAGC,cAAgBF,EAAIG,MAAM,EACjD,mBCEM,SAAmBC,EAAWC,GAClC,OAAOD,EAAIC,CACb,mBAEM,SAAmBD,EAAWC,GAClC,OAAOD,EAAIC,CACb,cAVM,SAAcD,EAAWC,GAC7B,OAAOD,EAAIC,CACb,eDEM,SAAeL,GACnB,OAAOA,EAAIM,MACb"}
@@ -0,0 +1,3 @@
1
+ export * from "./string";
2
+ export * from "./math";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ function n(n){return n.charAt(0).toUpperCase()+n.slice(1)}function r(n){return n.trim()}function t(n,r){return n+r}function u(n,r){return n*r}function e(n,r){return n-r}export{n as capitalize,u as multiply,e as subtract,t as sum,r as trim};
2
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm.js","sources":["../src/string.ts","../src/math.ts"],"sourcesContent":["export function capitalize(str: string): string {\n return str.charAt(0).toUpperCase() + str.slice(1);\n}\n\nexport function trim(str: string): string {\n return str.trim();\n}\n","export function sum(a: number, b: number): number {\n return a + b;\n}\n\nexport function multiply(a: number, b: number): number {\n return a * b;\n}\n\nexport function subtract(a: number, b: number): number {\n return a - b;\n}\n"],"names":["capitalize","str","charAt","toUpperCase","slice","trim","sum","a","b","multiply","subtract"],"mappings":"AAAM,SAAUA,EAAWC,GACzB,OAAOA,EAAIC,OAAO,GAAGC,cAAgBF,EAAIG,MAAM,EACjD,CAEM,SAAUC,EAAKJ,GACnB,OAAOA,EAAII,MACb,CCNM,SAAUC,EAAIC,EAAWC,GAC7B,OAAOD,EAAIC,CACb,CAEM,SAAUC,EAASF,EAAWC,GAClC,OAAOD,EAAIC,CACb,CAEM,SAAUE,EAASH,EAAWC,GAClC,OAAOD,EAAIC,CACb"}
@@ -0,0 +1,2 @@
1
+ var ModernMonorepoTemplateUtils=function(t){"use strict";return t.capitalize=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},t.multiply=function(t,r){return t*r},t.subtract=function(t,r){return t-r},t.sum=function(t,r){return t+r},t.trim=function(t){return t.trim()},t}({});
2
+ //# sourceMappingURL=index.iife.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.iife.js","sources":["../src/string.ts","../src/math.ts"],"sourcesContent":["export function capitalize(str: string): string {\n return str.charAt(0).toUpperCase() + str.slice(1);\n}\n\nexport function trim(str: string): string {\n return str.trim();\n}\n","export function sum(a: number, b: number): number {\n return a + b;\n}\n\nexport function multiply(a: number, b: number): number {\n return a * b;\n}\n\nexport function subtract(a: number, b: number): number {\n return a - b;\n}\n"],"names":["str","charAt","toUpperCase","slice","a","b","trim"],"mappings":"6EAAM,SAAqBA,GACzB,OAAOA,EAAIC,OAAO,GAAGC,cAAgBF,EAAIG,MAAM,EACjD,aCEM,SAAmBC,EAAWC,GAClC,OAAOD,EAAIC,CACb,aAEM,SAAmBD,EAAWC,GAClC,OAAOD,EAAIC,CACb,QAVM,SAAcD,EAAWC,GAC7B,OAAOD,EAAIC,CACb,SDEM,SAAeL,GACnB,OAAOA,EAAIM,MACb"}
package/dist/math.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export declare function sum(a: number, b: number): number;
2
+ export declare function multiply(a: number, b: number): number;
3
+ export declare function subtract(a: number, b: number): number;
4
+ //# sourceMappingURL=math.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../src/math.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAErD;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAErD"}
@@ -0,0 +1,3 @@
1
+ export declare function capitalize(str: string): string;
2
+ export declare function trim(str: string): string;
3
+ //# sourceMappingURL=string.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../src/string.ts"],"names":[],"mappings":"AAAA,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE9C;AAED,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAExC"}
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "@at-field/utils",
3
+ "version": "3.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "type": "module",
7
+ "module": "./dist/index.esm.js",
8
+ "types": "./dist/index.d.ts",
9
+ "keywords": [],
10
+ "author": "",
11
+ "license": "ISC",
12
+ "buildOptions": {
13
+ "name": "ModernMonorepoTemplateUtils",
14
+ "formats": [
15
+ "esm",
16
+ "cjs",
17
+ "iife"
18
+ ]
19
+ },
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "publishConfig": {
24
+ "access": "public"
25
+ },
26
+ "scripts": {
27
+ "test": "echo \"Error: no test specified\" && exit 1"
28
+ }
29
+ }