import * as lumeLangdata from "https://deno.land/x/lume_langdata@v2.0.1/deps.ts";
Namespaces
N date | Utilities for dealing with |
N Lang | |
N path | Utilities for working with OS-specific file paths. |
N YAML |
|
Variables
Extends JS-YAML default schema with additional JavaScript types It is not described in the YAML specification. Functions are no longer supported for security reasons. | |
Functions
Get number of the day in the year | |
Calculate difference between two dates. | |
Format date using format string | |
Check given year is a leap year or not. based on : https://docs.microsoft.com/en-us/office/troubleshoot/excel/determine-a-leap-year | |
Parse date from string using format string | |
Parse a date to return a IMF formatted string date RFC: https://tools.ietf.org/html/rfc7231#section-7.1.1.1 IMF is the time format to use when generating times in HTTP headers. The time being formatted must be in UTC for Format to generate the correct format. | |
Get number of the week in the year (ISO-8601) | |
get an array with all the language codes supported | |
Get the writing direction of the language. "rtl" or "ltr". | |
Check if the language code is valid. | |
Determines the common path from a set of paths, using an optional separator, which defaults to the OS default separator. | |
Convert a glob string to a regular expression. | |
Test whether the given string is a glob | |
Like join(), but doesn't collapse "**/.." when | |
Like normalize(), but doesn't collapse "**/.." when | |
Parses | |
Same as | |
Serializes |
Interfaces
A parsed path object generated by path.parse() or consumed by path.format(). |