Skip to content
/ lib.js Public

Lib[rary].js! But it's outdated now, since I'm developing more on the lib/ part of my `v4`.

License

Notifications You must be signed in to change notification settings

kekse1/lib.js

Repository files navigation

The official website is libjs.de. The current version can be seen in the version.json.

Abandonware..

Just for your info: this library was a nice test project (so I've some code to really work on), but since my newest private website project uses my new v4 library code, which is quiet optimized and better (even though not that far in it's amount of code), this project has ended!

Library

Everything (now only NON-browser) in the lib.js/ directory.

The rest, the browser part, is now available at github/kekse1/kekse.biz/, which grew there as I worked on my private website kekse.biz. It replaces the old 'browser/' part of this library.

Hint: if you don't want to use this library, see it at least as a provider for some useful code. It collects some nice mathematical functions, e.g.. etc.

Test cases

See the test.js/ directory, which is kinda 'documentation'.

There's no 'real' documentation available yet.. and yes, I know that it's totally bad, but I'm spending my time rather in the code itself but it's documentation. Another reason is that the code could change in this phase, so I'm rather commenting it l8rs.. eh? ^_^

Installation

There's a script for root and non-root installation (and additionally for Termux Linux), which is just extending the ${PATH} environment variable to your ${PREFIX}/usr/bin/, where the node.js is linked.

The node.js is the file for your script's 'Shebang's, or just to call it with either a script path or by passing your JavaScript code via a regular pipe!

The script knows if you already installed it.. and please mention that there'll be no prompt or so, it'll directly install after running the script.. but there are no real copies or so, it just changes the $PATH, as I already said, only by creating /etc/profile.d/(base).sh ('base' is the base directory where you copy this library to; regularily (so in the '.tar' archive @ libjs.de ) it's xyz).. ;)~

Favorites

My favorite code in this library are the getopt and the ansi modules. INTER ALIA.. so not to mention the other code here, which is great as well! ^_^

JavaScript's based on this library can so really easy be extended with colors (and other ANSI escape sequences), while with getopt it's also very easy to use the argument vector.. and also the tty/raw module is very useful; for designing, but also for (raw) key and mouse handling in the console.. etc.

TODO: also this README.md will be extended l8rs..

Globals

They're something 'special' in the way that they're extending the most global objects, etc. Here's a quick overview over them:

Contact

Copyright and License

The Copyright is (c) Sebastian Kucharczyk, and it's licensed under the MIT (also known as 'X' or 'X11' license).

Favicon

About

Lib[rary].js! But it's outdated now, since I'm developing more on the lib/ part of my `v4`.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published