todo-txt-cli
Version:
A CLI for todo.txt files - http://todotxt.org/
13 lines (12 loc) • 686 B
TypeScript
export function uniq<T>(arr: T[]): T[];
export function today(): Date;
export function isDate(date: any): boolean;
export function isInteger(value: any): boolean;
export function formatDate(date: Date | undefined): string;
export function changeDate(date: Date, count: string | number, unit?: string): Date;
export function moveDate(date: Date, val: string): Date | undefined;
export function isoOrRelativeDate(val: string, now?: Date): Date | undefined;
export function escapeRegExp(string: any): any;
export function priorityToRegExp(prio: string): RegExp | undefined;
export function digits(length: any): number;
export function range(ids: string[] | [] | undefined): string[] | [];