lord_ts v2.0.0
About The Project
Main issue that LordTs solved:
- color, geolocalisation, date, etc... \<parsing, validation, operation, model, build/helper, convert> ect ... should be native but you need 1.000 packages, so youre very dependant on versions, authors, errors, "sabotage".
- input too strict.
- well documented and tested and have goal to have only lodash/deepdash/luxon as dependencies.
- It should be have "FINAL version" cause color parsing don't really evolve each morning or at least 1 minor version for each 2 months for update package and norme avolution ...
- package expose class.
โ | ~ | โ | ๐ฆ | ๐ | ๐ง | ๐ | ๐ | ๐ค | ๐งช | ๐ญ | ๐ฃ |
---|---|---|---|---|---|---|---|---|---|---|---|
Done | Uncomplete | Undone or Nothing | Packaged | Doc, extra comment, test, all done, only update data | Not available now | โ Doc | effort of Doc | No Doc | โ Test | effort of Test | no Test |
๐ฃ๐ฃ๐ฃ: advice to not use because will be re-write in future
Node
Concern | Description | Status | Parsing | Validation | Operation | Model | Build | Convert |
---|---|---|---|---|---|---|---|---|
array | array of number, array of string, ect ... | ๐ฆ๐ญ๐ค | ||||||
obj | ๐ฆ๐ญ๐ค | |||||||
string | ๐ฆ๐ญ๐ค | |||||||
number | 3, "3", -4.5, "-4.5". | ๐ฆ๐ญ๐ค | ||||||
json | format of data, it would be json/messpack or others ... | ๐ฆ๐ญ๐ค | ||||||
buffer | ๐ฆ๐ฃ๐ค | |||||||
date | ๐ฆ๐ฃ๐ค | |||||||
cron | "* * * * *"=> each minute | ๐ง | ||||||
regex | /^regex$/ | ๐ฆ๐ญ๐ค | ||||||
all | string to number/obj/array/... and precisly type like "number", "float", "int" | ๐ฆ๐ญ๐ค |
Utils
Concern | Description | Status | Parsing | Validation | Operation | Model | Build | Convert |
---|---|---|---|---|---|---|---|---|
card | Support Majhong, Poker. | ๐ฆ๐ฃ๐ค | ||||||
color | rgb, hsl, hex, cmyk | ๐ฆ๐ฃ๐ค | ||||||
dice | 6, 2, ... 120 | ๐ฆ๐ญ๐ค | ||||||
id | Snowflake, Mongodb, increment | ๐ฆ๐ฃ๐ค | ||||||
measure | English metrics, SI and others | ๐ฆ๐ญ๐ค | ||||||
random | ... | ๐ฆ๐ฃ๐ค | ||||||
semServer | https://semver.org/ | ๐ฆ๐ญ๐ค | ||||||
telNumber | Internationnal system and local | ๐ฃ๐ฃ๐ฃ | ||||||
codeBar | EAN13 and others ... | ๐ฃ๐ฃ๐ฃ | ||||||
geoCoord | DMS, DD, UTM | ๐ฃ๐ฃ๐ฃ | ||||||
masking | UI input:"Tel :_ " + Type "a" => "Tel :a ", and "_ _ _" Yes or No if Y then Yes | ๐ง | ||||||
map | 2D custom map | ๐ง | ||||||
rank | ๐ง | |||||||
device | mobile, computer, laptop, Tv | ๐ง | ||||||
address | ๐ง | |||||||
IP | IPV4 - IPV6 | ๐ง | ||||||
calendar | gregorian, ... | ๐ง | ||||||
country | ๐ง | |||||||
path | url and local | ๐ง | ||||||
rarity | ๐ง | |||||||
tournement | Single Elimination, Double Elimination, Robbin | ๐ง | ||||||
vote | ... | ๐ง | ||||||
lvl | ๐ง | |||||||
veryBigNumber | ๐ง | |||||||
file | ๐ง |
Forget
- measure metrics add Kelvin
Built With
Getting Started
Prerequisites
npm install npm@latest -g
Installation
Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.
- Install lord_ts package
npm i --save lord_ts && npm dedupe
Usage
lord-ts package expose either CONSTANTS, TYPE, INTERFACE or FUNCTIONS only
For more examples, please refer to the Documentation
Roadmap
- minimal bundle to use on production
- looking for automatic tsDoc documention in a gentle way
- complete tsdoc autogeneration with few remarks if needed
- implement of Zod and manipulate JSON SCHEMA for: Form, Parsing and Validation.
- split this package in "Node" and for each "utils".
See the open issues for a full list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE.txt
for more information.
Contact
Martin - jeremymartin33610@gmail.com
Project Link: https://github.com/c0ncentus/LordTs
Acknowledgments
Space to list resources you find helpful and would like to give credit to.