https://github.com/nathanpb/kext
Fast Typescript utility library for declarative programming
https://github.com/nathanpb/kext
array dependency-free hacktoberfest typescript utility-library
Last synced: about 1 year ago
JSON representation
Fast Typescript utility library for declarative programming
- Host: GitHub
- URL: https://github.com/nathanpb/kext
- Owner: NathanPB
- License: mit
- Created: 2021-07-15T01:12:24.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-01T08:51:21.000Z (almost 2 years ago)
- Last Synced: 2025-03-25T01:04:09.049Z (about 1 year ago)
- Topics: array, dependency-free, hacktoberfest, typescript, utility-library
- Language: TypeScript
- Homepage: https://kext.nathanpb.dev
- Size: 2.42 MB
- Stars: 22
- Watchers: 1
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/@nathanpb/kext)
[](https://github.com/NathanPB/kext/actions/workflows/tests.yml)
[](https://coveralls.io/github/NathanPB/kext?branch=main)
## The f
I think that the ECMAScript stdlib is not enough for me, so I'm attempting to rewrite all of the usefull Kotlin's stdlib into Typescript.
Along the way, I discovered many possibilities to improve it and make the life of the JS/TS developer much easier.
So I plan to, with this lib, expose a bunch of useful and type-safe functions to make the development experience much easier and more pleasant.
Yes, it's that simple
**If you get any questions or suggestions just open a [discussion](https://github.com/NathanPB/kext/discussions) or an [issue](https://github.com/NathanPB/kext/issues)**
## Installation
This package is published in [npmjs](https://www.npmjs.com/package/@nathanpb/kext):
``npm i @nathanpb/kext`` or ``yarn add @nathanpb/kext``
If you want to try the unstable features, use the ``next`` tag: ``npm i @nathanpb/kext@next``.
## Documentation
- [Docs](https://kext.nathanpb.dev)
- [API Reference](https://kext.nathanpb.dev/api)
- [Showcase](https://kext.nathanpb.dev/#/showcase)
This library is all inspired by Kotlin, so [their documentation](https://kotlinlang.org/docs/home.html) may be useful.
## Side Notes
- Project is in the beginning, breaking changes are expected
- Performance may be questionable, but always considered before implementing a new feature. See [benchmarks](https://kext.nathanpb.dev/#/benchmarks).
## License
```
Copyright 2021 Nathan P. Bombana
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
```
Do whatever you want with my code just don't make it boring
Thanks, JetBrains