⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
bitninja-threat-hunting
/
node_modules
/
kuler
/
View File Name :
test.js
const { it, describe } = require('mocha'); const assume = require('assume'); const kuler = require('./'); describe('kuler', function () { it('renders colors in the terminal', function () { console.log(' VISUAL INSPECTION'); console.log(' '+ kuler('red').style('F00')); console.log(' '+ kuler('black').style('#000')); console.log(' '+ kuler('white').style('#FFFFFF')); console.log(' '+ kuler('lime').style('AAFF5B')); console.log(' '+ kuler('violet').style('#ee82ee')); console.log(' '+ kuler('purple').style('#800080')); console.log(' '+ kuler('purple').style('#800080'), 'correctly reset to normal color'); console.log(' '+ kuler('green', '#008000')); }); describe('#style', function () { it('has a style method', function () { assume(kuler('what').style).is.a('function'); }); }); });