1.0.3 • Published 1 year ago
libnip-js v1.0.3
libnip-js
Small custom library for npm projects.
Contents
LogToFile: function (prompt, file)
Logs an input prompt (string)
to path file (string)
ArrayContains: function (arr, value, row)
Checks if 2D array arr (array)
contains a value value (*)
in row row (int)
RelativeTimeReplySeconds: function (totalSeconds)
Returns a readable description of a selected time and date totalSeconds (long)
RelativeTimeReply: function (days, hours, minutes, seconds)
Returns a readable description of a selected time and date (days int, hours int, minutes int, seconds int)
Usage
Import into your project, put in includes, use as normal functions.