paski-tvpis

1.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i paski-tvpis

Weekly Downloads

2

Version

1.1.1

License

LGPL-3.0

Unpacked Size

13.7 kB

Total Files

12

Last publish

Collaborators

  • sech1p