mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
10 lines
308 B
TypeScript
10 lines
308 B
TypeScript
/// <reference path="dot-case.d.ts" />
|
||
|
||
import dotCase = require('dot-case');
|
||
|
||
console.log(dotCase('string')); // => "string"
|
||
console.log(dotCase('camelCase')); // => "camel.case"
|
||
console.log(dotCase('sentence case')); // => "sentence.case"
|
||
|
||
console.log(dotCase('MY STRING', 'tr')); // => "my.strıng"
|