1.0.9 • Published 2 years ago
blacknight-utils v1.0.9
Blacknight Utils
The Concept
Have you ever got stuck creating a Folder
or a File
or maybe even Logging
?
Well you are in luck!!
Blacknight Utils Has You Covered.
Things we Offer
Logging
File Creation
File Deletion
Eval
Execute
Folder Creation
Folder Deletion
File Copying
How to Setup
npm i blacknight-utils
const Client = require('blacknight-utils');
const client = new Client();
Define Intents
// If you are confused about the intents, just do
const Client = require('blacknight-utils');
const client = new Client();
const intents = client.supportedIntents();
console.log(intents);
// Other wise
const Client = require('blacknight-utils');
const client = new Client(["log"]); // Logging
Test Code
const Client = require('blacknight-utils');
const client = new Client(["log"]);
client.log("Hello World!", false); // false = no error
client.log("Hello World!", true); // true = error
To View More Test Code go to the test.js file in the tests folder.
Test code Test.js