@art-suite/art-core-ts 0.1.1

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 ADDED
@@ -0,0 +1,37 @@
1
+ # @art-suite/art-core-ts
2
+
3
+ The standard library JavaScript should have had. This package provides a comprehensive set of utilities that make JavaScript/TypeScript development more productive and enjoyable.
4
+
5
+ With tree-shaking support, only the portions of art-core that you actually use will be included in your bundle, keeping your application lean and efficient.
6
+
7
+ ## Component Libraries
8
+
9
+ This package combines several specialized libraries, each focusing on a specific aspect of development:
10
+
11
+ - [@art-suite/art-core-ts-types](https://npmjs.com/@art-suite/art-core-ts-types) - JavaScript's type system is famously inconsistent at runtime. This library unifies and standardizes type checks by providing a set of highly-performant, well-tested `isFoo` functions, abstracting away JavaScript's quirks.
12
+
13
+ - [@art-suite/art-core-ts-containers](https://npmjs.com/@art-suite/art-core-ts-containers) - Essential, high-performance utilities for working with arrays and plain objects. Provides robust, pure-functional implementations of common operations like `merge`, array flattening, and efficient object key operations that are missing or inefficient in native JavaScript.
14
+
15
+ - [@art-suite/art-core-ts-json](https://npmjs.com/@art-suite/art-core-ts-json) - Seamless, type-safe utilities for working with JSON in TypeScript. Provides robust TypeScript types for JSON values, type guards, and conversion utilities that make it easy to work with JSON data in a type-safe way.
16
+
17
+ - [@art-suite/art-core-ts-string-case](https://npmjs.com/@art-suite/art-core-ts-string-case) - Effortless, lossless conversion between all common string case formats in programming. Handles edge cases (especially acronyms) correctly and enables round-trip conversion between all supported formats without losing word boundaries or acronym information.
18
+
19
+ - [@art-suite/art-core-ts-time](https://npmjs.com/@art-suite/art-core-ts-time) - Seamless, simple utilities for working with dates, times, and durations. Provides a unified set of utilities for effortless conversion between standard date/time representations, easy formatting, and common calculations like "start of day" or "first of month".
20
+
21
+ - [@art-suite/art-core-ts-comprehensions](https://npmjs.com/@art-suite/art-core-ts-comprehensions) - A powerful and flexible comprehension library that provides a unified interface for working with arrays, objects, and other iterables. Each comprehension function can accept any input container as the source and returns the appropriate type (object, array, or found value).
22
+
23
+ ## Installation
24
+
25
+ ```bash
26
+ npm install @art-suite/art-core-ts
27
+ ```
28
+
29
+ ## Usage
30
+
31
+ ```typescript
32
+ import /* your needed utilities */ "@art-suite/art-core-ts";
33
+ ```
34
+
35
+ ## License
36
+
37
+ MIT
@@ -0,0 +1,6 @@
1
+ export * from '@art-suite/art-core-ts-containers';
2
+ export * from '@art-suite/art-core-ts-comprehensions';
3
+ export * from '@art-suite/art-core-ts-json';
4
+ export * from '@art-suite/art-core-ts-string-case';
5
+ export * from '@art-suite/art-core-ts-types';
6
+ export * from '@art-suite/art-core-ts-time';
package/dist/index.js ADDED
@@ -0,0 +1,6 @@
1
+ export * from '@art-suite/art-core-ts-containers';
2
+ export * from '@art-suite/art-core-ts-comprehensions';
3
+ export * from '@art-suite/art-core-ts-json';
4
+ export * from '@art-suite/art-core-ts-string-case';
5
+ export * from '@art-suite/art-core-ts-types';
6
+ export * from '@art-suite/art-core-ts-time';
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "author": "Shane Delamore",
3
+ "dependencies": {
4
+ "@art-suite/art-core-ts-comprehensions": "^0.1.1",
5
+ "@art-suite/art-core-ts-containers": "^0.1.1",
6
+ "@art-suite/art-core-ts-json": "^0.1.1",
7
+ "@art-suite/art-core-ts-string-case": "^0.1.2",
8
+ "@art-suite/art-core-ts-time": "^0.1.2",
9
+ "@art-suite/art-core-ts-types": "^0.1.1"
10
+ },
11
+ "description": "The full Art-Core-TS library",
12
+ "devDependencies": {
13
+ "@types/node": "^20.11.24",
14
+ "typescript": "^5.3.3",
15
+ "vitest": "^3.1.3"
16
+ },
17
+ "exports": {
18
+ ".": {
19
+ "default": "./dist/index.js",
20
+ "import": "./dist/index.js",
21
+ "types": "./dist/index.d.ts"
22
+ }
23
+ },
24
+ "files": [
25
+ "dist"
26
+ ],
27
+ "keywords": [
28
+
29
+ ],
30
+ "license": "MIT",
31
+ "main": "./dist/index.js",
32
+ "name": "@art-suite/art-core-ts",
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "https://github.com/art-suite/art-suite-ts"
36
+ },
37
+ "scripts": {
38
+ "build": "tsc",
39
+ "clean": "rm -rf dist",
40
+ "prebuild": "npm run clean",
41
+ "prepublishOnly": "npm run build",
42
+ "test": "vitest run",
43
+ "test:coverage": "vitest run --coverage",
44
+ "test:watch": "vitest"
45
+ },
46
+ "type": "module",
47
+ "types": "./dist/index.d.ts",
48
+ "version": "0.1.1"
49
+ }