jydev


  • global functions for faster development and testing.

    published version 1.0.2, 4 years ago
  • [toPrecision](https://www.npmjs.com/package/toprecision) is a npm module similar to built-in [.toPrecision()](https://www.w3schools.com/jsref/jsref_toprecision.asp), but without exponential notation.

    published version 1.4.3, 4 days ago
  • [oa2o](https://www.npmjs.com/package/oa2o) (object array to object) is a simple npm module to convert iterative object array ( [{k:"a"}, {k:"b"}] ) to object ( {a:{k:"a"}, b:{k:"b"}} ):

    published version 1.1.6, a year ago
  • ``` let logTime = require('lgtime')

    published version 1.1.5, 8 months ago
  • ``` let ago = require('ytimeago') v = ago(Date.now() - 1000) // 1s v = ago(Date.now() - 1000, '') // just now v = ago(Date.now() - 60 * 1000) // 1m // 1 minute ago v = ago(Date.now() - 60 * 60 * 1000) // 1h // 1 hour ago v = ago(Date.now() - 24 * 60 * 60

    published version 1.0.0, a year ago
  • ``` let toDate = require('ytodate') toDate(); // Sun 11 Aug 10:14PM (current time) ```

    published version 1.0.5, 10 months ago
  • Return correct number from a floating point number.

    published version 1.0.7, a year ago
  • obk npm

    published version 1.0.0, a year ago
  • Apply a callback function recursively to all values in an Array, Object, String or Number.

    published version 1.0.2, a year ago
  • Similar to .toFixed(), but can be ceil, floor or round (default)

    published version 1.0.3, 10 months ago
  • Simple Binance api with GET and POST methods.

    published version 1.2.6, 6 months ago
  • Simple and complete list of colors and styles for console.log()

    published version 1.1.1, 8 months ago
  • Load useful global functions and variables for server (nodejs) and client (react and nextjs).

    published version 2.4.0, 6 months ago
  • Bybit API

    published version 1.0.6, 6 months ago
  • JSON.parse string, array or object recursively (only parse valid JSON, return original value if is not a valid json)

    published version 1.0.0, 6 months ago
  • Simple Gate.io api for Node.js to access Gate.io REST API.

    published version 1.0.4, 4 months ago
  • HTX API

    published version 1.0.4, 4 months ago