0.0.5 • Published 6 months ago

coolcake v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

CoolCake

Discord GitHub Action NPM Version NPM Downloads NPM Unpacked Size NPM License

A package for doing some utility things

Installation

To install CoolCake, run one of the following commands based on your preferred package manager:

NPM

npm install coolcake

PNPM

pnpm add coolcake

Yarn

yarn add coolcake

Uses

Uptime

const { uptime } = require("coolcake")

setTimeout(() => {
    console.log(uptime()) // return 1s 2ms
    console.log(uptime(true)) // return 1 second 2 milliseconds
}, 1200)

appendJSON

const { appendJSON } = require("coolcake")

appendJSON("test.json", { data: "this is important data" })
0.0.5

6 months ago

0.0.4

10 months ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago