Skip to content

NathanPB/kext

Repository files navigation

npm version Tests Status Coverage Status

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 or an issue

Installation

This package is published in npmjs:

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

This library is all inspired by Kotlin, so their documentation 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.

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