Miss any of our Open RFC calls?Watch the recordings here! »

tlid

1.0.9 • Public • Published

GOAL

Content needs something to search for, identify in time.

Install

npm install tlid --save

Usage

Common

var tlid = require('tlid');
var mytlid = tlid.get();
var min = tlid.minutes();
var ms = tlid.ms();
var day = tlid.day();
 
var mytextWithTlid = "today 181208 I had completed the feature";
if (tlid.has(mytextWithTlid)){
    var xtractedTlid = tlid.xtr(mytextWithTlid);
    console.log("ExtractedTlid: " + xtractedTlid);
};
 

History

Tlid is the oldest libraries I created about 20 years ago if not more, it simply enables creating datetime based string to use mostly for efficient file naming composed of a sortable and searchable dt string.

Install

npm i tlid

DownloadsWeekly Downloads

22

Version

1.0.9

License

MIT

Unpacked Size

11 kB

Total Files

7

Last publish

Collaborators

  • avatar