UNPKG

dwnpm

Version:

Decentralized Registry Package Manager (DRPM) helps developers publish, install, find and manage Decentralized Packages (DPKs) published to Decentralized Web Nodes (DWNs). DRPM does this by looking up a Decentralized Identifier (DID) to find its DID docum

21 lines (17 loc) 412 B
declare global { interface String { proper(): string; upper(): string; lower(): string; } } String.prototype.proper = function (): string { return this.charAt(0).toUpperCase() + this.slice(1).toLowerCase(); }; String.prototype.upper = function (): string { return this.toUpperCase(); }; String.prototype.lower = function (): string { return this.toLowerCase(); }; export {};