Current collected state Current
Observed since 20 Oct, 19:59 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Shared utilities for 420kit projects - phrase system and media generation
Shared utilities for 420kit projects providing phrase system and media generation functionality.
npm install 420kit-shared
import { BuildTimePhraseSystem } from '420kit-shared';
const phraseSystem = new BuildTimePhraseSystem();
const selections = phraseSystem.getBuildSelections();
const phrase = phraseSystem.getPhrase('group', 'key', selections);
import { DynamicPhraseSystem } from '420kit-shared';
const phraseSystem = new DynamicPhraseSystem();
phraseSystem.addPhraseGroup('example', {
greeting: ['Hello', 'Hi', 'Hey']
});
const randomGreeting = phraseSystem.getPhrase('example', 'greeting');
import { MediaGenerator } from '420kit-shared';
const mediaGenerator = new MediaGenerator({
baseDir: process.cwd(),
imageDir: 'images',
videoDir: 'videos',
outputDir: process.cwd()
});
const result = await mediaGenerator.generateAllLists();
BuildTimePhraseSystem - Build-time phrase selection with seeded randomizationDynamicPhraseSystem - Runtime phrase management with random selectionMediaGenerator - Generate media lists for images and videosDownload counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.0Registry latest | 11 Oct 2025 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 19:59 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:7bce41588600f4ff432f28d21d8f7a5eaa0b06d2aed2231ee239addefa9e0d2a