timepiece/node_modules/ext/docs/string_/capitalize.md

258 B

string.capitalize() (ext/string_/capitalize)

Capitalize input string, e.g. convert this is a test into This is a test.

const capitalize = require("ext/string_/capitalize");

capitalize.call("this is a test"); // This is a test