UNPKG

json-schema-describes-subset

Version:

Tools for static JSON schema analysis, including functions to determine if one schema describes a subset of another or if a schema describes the empty set or to convert a schema to its disjunctive normal form (DNF).

9 lines 213 B
import path from 'path'; /** * @returns Extension without leading period * */ export function getPlainExtname(filename) { return path.extname(filename).replace(/^\./, ''); } //# sourceMappingURL=path.js.map