paski-tvpis
v1.1.1
Published
Wylosuję tobie losowy pasek z TVP, Telewizji PiS!
Downloads
4
Readme
paski-tvpis
Simple .js library (polish language) to return random bars from to return random stripes from news on Polish public television
paski-tvpis
changelog is available here
Usage:
npm install paski-tvpis
Example:
import { bars } from 'paski-tvpis'
console.log(new bars(3).randomized)
Save the file with the suffix .mjs
because .js
does not support ES modules.
To hide ExperimentalWarning, run the script with the argument --no-warnings
, for example: node --no-warnings your_filename.mjs
Where 3
is the number of bars to be returned, an empty function will return all bars available in the library. This code will (below output is example) return:
MŁODZY POLACY JUŻ NIE MUSZĄ EMIGROWAĆ
BLISKO LUDZKICH SPRAW
MAMY DOŚĆ HIPOKRYZJI TRZASKOWSKIEGO