Skip to content

marschro/devpunx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABOUT

devpunx is just a small package that holds some convenient functions and services.

Install

npm install devpunx

Use

shareable objects

const db = require('devpunx').dataStoreObject
db.user = {name: "Jon", age: 22}

Helpers

const utils = require('devpunx').helpers

// readabledate
let now = utils.now
let readableDate = utils.todayReadable

//readable datetime with separator
utils.now.seperator = " -- "
let date = utils.now

Releases

No releases published

Packages

No packages published