
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
checklist-js
Advanced tools
npm install checklist-js
import Checklist from 'checklist-js'
const shoppingList = [
'🥚 eggs',
'🥩 ham',
'🧀 cheese',
'🍎 apple',
'🥦 broccoli'
];
// create a checklist
const checklist = new Checklist(shopping_lits);
let eggs = await fetch('https://emojipedia.org/egg/');
// check eggs
if(eggs) checklist.check('🥚 eggs');
let ham = await fetch('https://emojipedia.org/ham/');
// check ham
if(ham) checklist.check('🥩 ham');
checklist.next() // '🧀 cheese'
checklist.next() // '🍎 apple'
// uncheck 🥚 eggs
checklist.uncheck('🥚 eggs')
/* 🥚 eggs ? */
checklist.isChecked('🥚 eggs') // false
/* 🥩 ham ? */
checklist.isChecked('🥚 eggs') // true
/*[
'🥚 eggs',
'🧀 cheese',
'🍎 apple',
'🥦 broccoli',
]*/
checklist.getMissingValues();
checklist.missingLeft(); // 4
/*[
'🥩 ham',
]*/
checklist.getCheckedValues()
checklist.valuesDone() // 1
/* check if all the values have been checked */
checklist.isDone() // false
checklist.isNotDone() // true
/*
false : 🥚 eggs
true : 🥩 ham
false : 🧀 cheese
false : 🍎 apple
false : 🥦 broccoli
*/
checklist.log()
// delete the checklist in the files system
checklist.delete()
while(checklist.isNotDone()){
// get the next missing value on the checklist
let value = checklist.next()
// perform some operation
let result = await fetch('https://emojipedia.org/');
// check the value if successful
if(result) checklist.check(value);
}
// delete the checklist in the files system
if(checklist.isDone())
checklist.delete()
const checklist = new Checklist([
'🥚 eggs',
'🥩 ham',
'🥦 broccoli'
]);
// check
checklist.check('🥚 eggs');
checklist.check('🥩 ham');
/*
true : 🥚 eggs
true : 🥩 ham
false : 🥦 broccoli
*/
checklist.log()
/* after crash or diffrent file*/
const checklist = new Checklist([
'🥚 eggs',
'🥩 ham',
'🥦 broccoli'
]);
/*
true : 🥚 eggs
true : 🥩 ham
false : 🥦 broccoli
*/
checklist.log()
/* after crash or diffrent file*/
const checklist = new Checklist([
'🥦 broccoli'
'🥩 ham',
'🥚 eggs',
]);
/*
false : 🥦 broccoli
true : 🥩 ham
true : 🥚 eggs
*/
checklist.log()
let shoppingList = [
'🥦 broccoli'
'🥩 ham',
'🥚 eggs',
];
const bobs_checklist = new Checklist(
shoppingList, { name: 'bobs shoppinglist' }
);
bobs_checklist.check(['🥩 ham', '🥚 eggs'])
const alices_checklist = new Checklist(
shoppingList, { name: 'alices shoppinglist' }
);
alices_checklist.check('🥦 broccoli')
/* after crash or diffrent file*/
const bobs_checklist =
new Checklist(null, { name: 'bobs shoppinglist' });
/*
false : 🥦 broccoli
true : 🥩 ham
true : 🥚 eggs
*/
bobs_checklist.log()
const alices_checklist =
new Checklist(null, { name: 'alices shoppinglist' });
/*
false : 🥦 broccoli
true : 🥩 ham
true : 🥚 eggs
*/
bobs_checklist.log()
new Checklist([], {
name: 'my_checklist',
path: process.cwd()
});
new Checklist([], {
recalc_on_check: false
});
// add 🥓 bacon
checklist.add('🥓 bacon')
// or
checklist.add(['🍞 Bread', '🍆 Eggplant', '🥛 Milk'])
// remove 🥚 eggs
checklist.remove('🥚 eggs')
// or
checklist.remove(['🥩 ham', '🥓 bacon', '🍞 Bread', '🥛 Milk'])
// check 🧀 cheese
checklist.check('🧀 cheese')
// or
checklist.check([ '🍆 Eggplant', '🍎 apple' , '🥦 broccoli'])
// uncheck 🧀 cheese
checklist.unchek('🧀 cheese')
// or
checklist.uncheck([ '🍆 Eggplant', '🍎 apple' , '🥦 broccoli'])
new Checklist( valus, {
name, // name of the checklist to save
path, // path to save the checklist at
recalc_on_check, // recalcuate the missing values on check
save_every_check, // save the checklist every n checks
enqueue, // if false, do not add missing values to the end of the list
shuffle, // if true, shuffle the values before checking
save // if false, Checklist has not presistense. it does not save to disk, default true
})
FAQs
A simple checklist for when you need to keep track of things presistetly
The npm package checklist-js receives a total of 1 weekly downloads. As such, checklist-js popularity was classified as not popular.
We found that checklist-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.