@vyacheslav97/ct
Advanced tools
Comparing version 0.0.16 to 1.0.0
{ | ||
"type": "module", | ||
"name": "@vyacheslav97/ct", | ||
"version": "0.0.16", | ||
"version": "1.0.0", | ||
"description": "", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
# <u>Common tools (ct, also @vyacheslav97/ct)</u> | ||
***ATTENTION!!!*** Huge work in progress, do not download version with this mark | ||
Common tools (hereinafter referred to as **ct**) - a common JavaScript data structures and associated processing procedures package ([package repository](https://github.com/VyacheslavMishin/ct/tree/master)). | ||
@@ -9,8 +9,7 @@ | ||
Current version renewals (0.0.15): | ||
Current version renewals (1.0.0) (see **Prerequesites** a bit below): | ||
- [**isNumber** data validator](#isNumber) | ||
- [Decimal integers regular expressions](#integerRegExp): signed, unsigned, negative integers of arbitrary length | ||
- [Decimal floating point numbers expressions](#floatRegExp): signed, unsigned, negative floats of arbitrary length | ||
- [Decimal numbers of exponential format](#expRegExp) | ||
- All interfaces and implementations can be imported directly from package (all imports are named) | ||
- Code and autocomplete works properly with import | ||
- **isNumber** now can be used as a type guard properly | ||
@@ -35,3 +34,3 @@ Next scheduled **major** updates: | ||
To get along with this module (e.g. enable IntelliSense), enable in consumer project **tsconfig.json** **resolvePackageJsonImports**, **resolvePackageJsonExports** options, also check **module** and **moduleResolution** are **Node16**. | ||
tsconfig.json **moduleResolution** has to be set to **node** | ||
@@ -71,3 +70,3 @@ # Module guts | ||
```ts | ||
import {createIterableTransformer, transformToIterable} from '@vyacheslav97/ct/uic'; | ||
import {createIterableTransformer, transformToIterable} from '@vyacheslav97/ct'; | ||
``` | ||
@@ -116,3 +115,3 @@ | ||
```ts | ||
import {createArrayToMap, createMapToSet} from '@vyacheslav97/ct/uicsds'; | ||
import {createArrayToMap, createMapToSet} from '@vyacheslav97/ct'; | ||
``` | ||
@@ -136,3 +135,3 @@ | ||
PairToSingle | ||
} from "@vyacheslav97/uic/interfaces"; | ||
} from "@vyacheslav97/ct"; | ||
@@ -205,4 +204,3 @@ // Map item to a character transformer | ||
```ts | ||
import Graph from '@vyacheslav97/ct/graph'; | ||
// All necessary interfaces can be imported from '@vyacheslav97/ct/graphs/interfaces' | ||
import {Graph} from '@vyacheslav97/ct'; | ||
``` | ||
@@ -362,3 +360,3 @@ | ||
```ts | ||
import Tree from '@vyacheslav97/ct/tree'; | ||
import {Tree} from '@vyacheslav97/ct'; | ||
``` | ||
@@ -417,3 +415,3 @@ | ||
```ts | ||
import MutationsHistory from '@vyacheslav97/ct/mutationsHistory'; | ||
import {MutationsHistory} from '@vyacheslav97/ct'; | ||
``` | ||
@@ -490,3 +488,3 @@ | ||
buildBinarySearch, | ||
} from '@vyacheslav97/ct/algorithms/binarySearch'; | ||
} from '@vyacheslav97/ct'; | ||
``` | ||
@@ -541,3 +539,3 @@ | ||
buildDuplicatesSearcher, | ||
} from '@vyacheslav97/ct/algorithms/duplicatesSearcher'; | ||
} from '@vyacheslav97/ct'; | ||
``` | ||
@@ -566,3 +564,3 @@ | ||
**buildDuplicatesSearcher** builds a **duplicatesSearcher** instance with a given**valueExtractor**: | ||
**buildDuplicatesSearcher** builds a **duplicatesSearcher** instance with a given **valueExtractor**: | ||
@@ -605,3 +603,3 @@ ```ts | ||
```ts | ||
import isNumber from '@vyacheslav97/ct/isNumber'; | ||
import isNumber from '@vyacheslav97/ct'; | ||
``` | ||
@@ -625,3 +623,3 @@ | ||
negativeIntegerNumberRegex, | ||
} from '@vyacheslav97/ct/numbersRegExps'; | ||
} from '@vyacheslav97/ct'; | ||
``` | ||
@@ -650,3 +648,3 @@ | ||
negativeFloatingPointNumberRegex, | ||
} from '@vyacheslav97/ct/numbersRegExps'; | ||
} from '@vyacheslav97/ct'; | ||
``` | ||
@@ -673,3 +671,3 @@ | ||
exponentialNumberFormatRegex, | ||
} from '@vyacheslav97/ct/numbersRegExps'; | ||
} from '@vyacheslav97/ct'; | ||
``` | ||
@@ -676,0 +674,0 @@ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
69038
672