kivi-bananen
v2.1.0-alpha
Published
A Node wrapper around @strawmelonjuice/bananen written in Typescript.
Downloads
3
Readme
kivi
A Node wrapper around @strawmelonjuice/bananen written in Typescript.
I will be rewriting this I just found it funny to experiment w it but I kinda messed the whole thing up lol
Usage
[!note]
Kivi! 🥝 is highly experimental and currently solely in development to see what is possible. Bananen! 🍌 is in alpha stage (however, testing by usage is confirming it is quite stable).
This package is subject to change and may break unexpectedly.
First, install it into the current project.
npm install kivi-bananen
JavaScript (less tested)
const path = require("path")
const kivi = new (require(kivi-bananen)).KiviBananen)(path.join(__dirname, "../yes"));
TypeScript (recomended, kivi is written in TS.)
import path from 'path';
import KiviBananen from 'kivi-bananen';
const kivi = new KiviBananen(path.join(__dirname, "../yes"));
then you can use Kivi 🥝 from your scripts as you would use Bananen 🍌.
kivi.init();
kivi.add(1, false, "testing ..");
kivi.add(4, false, "testing. ");
kivi.add(2, true, "testing. .");
kivi.chdir(path.join(__dirname, "./test/"))
kivi.add(2, false, "tested!");
kivi.regen();
kivi.dub("Completed test!");