rentgen/test.ts

8 lines
242 B
TypeScript
Raw Normal View History

2021-11-22 18:56:36 +01:00
import { flattenObject, maskString } from "./util";
2021-11-22 17:54:15 +01:00
console.log(flattenObject({ a: { b: { c: [1, 2, 3] } } }));
2021-11-22 18:56:36 +01:00
console.log(maskString("abcdefghijklmnopqrstuvwxyz", 1 / 3, 5));
console.log(maskString("abcdefghijklmnopqrstuvwxyz", 1, 30));