@vyacheslav97/ct
Advanced tools
Comparing version 0.0.9 to 0.0.10
{ | ||
"name": "@vyacheslav97/ct", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "", | ||
"exports": { | ||
"./uic/*": "./dist/implementations/uic/*", | ||
"./interfaces/uic/*": "./dist/interfaces/uic/*" | ||
"./uic": { | ||
"import": "./dist/implementations/uic/uic.js", | ||
"types": "./dist/implementations/uic/uic.d.ts" | ||
}, | ||
"./uicsds": { | ||
"import": "./dist/implementations/uic/uicsds.js", | ||
"types": "./dist/implementations/uic/uicsds.d.ts" | ||
}, | ||
"./uic/interfaces": { | ||
"import": "./dist/interfaces/uic/interfaces.js", | ||
"types": "./dist/interfaces/uic/interfaces.d.ts" | ||
} | ||
}, | ||
@@ -9,0 +19,0 @@ "scripts": { |
@@ -15,3 +15,3 @@ # <u>Common tools (ct, also @vyacheslav97/ct)</u> | ||
UIC module provides a user with two functions: **transformToIterable** and its wrapper, **createIterableTransformer**. UIC module is represened by uic.ts file of original project. | ||
UIC module provides a user with two functions: **transformToIterable** and its wrapper, **createIterableTransformer**. UIC module is represented by uic.ts file of original project. | ||
@@ -23,4 +23,4 @@ **transformToIterable** is a core procedure - it defines the way an input iterable is converted to an output one. | ||
- Accepts 3 arguments: source iterable object, target iterable constructor and source iterable value coverter (the last is optional) | ||
- Sometimes source iterable can be consumed by target iterable constructor as it is, then source iterable value converter may be ommited | ||
- Accepts 3 arguments: source iterable object, target iterable constructor and source iterable value converter (the last is optional) | ||
- Sometimes source iterable can be consumed by target iterable constructor as it is, then source iterable value converter may be omitted | ||
- Otherwise, a proxy iterable is created, that wraps source iterable values in source iterable value converter. Then this proxy iterable is passed to a target iterable constructor | ||
@@ -82,4 +82,4 @@ | ||
Its pretty easy to use: | ||
- first, just import catched your eye transformer creator | ||
It's pretty easy to use: | ||
- first, just import caught your eye transformer creator | ||
- then specify source iterable transformation function | ||
@@ -92,3 +92,3 @@ - finally create your iterable converter | ||
```ts | ||
// All needed type aliases for convertion laws can be imported as follows: | ||
// All needed type aliases for conversion laws can be imported as follows: | ||
import { | ||
@@ -115,3 +115,3 @@ SingleToPair, | ||
Webstorm (always) and VS Code (sometimes) can't autocomplete imports and don't fetch doc strings content. | ||
Inspite of this issue test project with simple webpack configurations assebles well and runs installed module code smoothly. | ||
Despite this issue test project with simple webpack configurations assembles well and runs installed module code smoothly. | ||
If you now how to handle described issue via tuning ct package in particular, please, feel free to contact me. I'll appreciate your help. | ||
@@ -118,0 +118,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19635