Skip to main content
Deno 2 is finally here 🎉️
Learn more

justaos’s Utils

Common utility functions used across projects.

Build Coverage Status

File Utils

import FileUtils from "https://raw.githubusercontent.com/justaos/utils/1.1.0/logger-utils/mod.ts";
const obj = FileUtils.readJsonFileSync("../test/resources/sample.json");
console.log(JSON.stringify(obj, null, 4)); // prints content of sample.json

String Utils

import CommonUtils from "https://raw.githubusercontent.com/justaos/utils/1.1.0/common-utils/mod.ts";
const temp = CommonUtils.underscoreToCamelCase("hello_world");
console.log(temp); // prints 'Hello World'

Code of Conduct

Contributor Covenant

License

Apache License 2.0