@f0c1s/js.lib

0.0.15 • Public • Published

js.lib

NOTE: @f0c1s/js.lib is deprecated. Use @ackret/js.lib.

Features

  • base64
    • encode
    • decode
  • list
    • filterReduce
    • foldl
    • foldr
    • take
    • takeWhile
  • heap
    • number
      • MinHeap
  • node
    • fs
      • processFiles
      • readDirectorySync
      • readFileSync
      • writeFileSync
  • primitives
    • boolean: class BooleanT
    • default: class Default
    • false: class FalseT
    • string: class StringT
    • true: class TrueT
  • canvas
    • Point2d
    • Circle
    • Square
    • Rectangle
  • Conversion

Usage

npm install @ackret/js.lib
const { readFileSync, writeFileSync } = require("@ackret/js.lib/node/fs");

Coverage

# to cover and generate text output
npm run cover
# to cover and generate html output
npm run cover-html

License

MIT

copyright 2024 Anubhav Saini (iamanubhavsaini) copyright 2024 AckRet

Package Sidebar

Install

npm i @f0c1s/js.lib

Weekly Downloads

19

Version

0.0.15

License

MIT

Unpacked Size

66.2 kB

Total Files

33

Last publish

Collaborators

  • sainianubhav
  • iamanubhavsaini