Skip to main content

Common utility functions used across justaos projects

Works with
This package works with Deno
JSR Score
70%
Published
2 months ago

JUSTAOS's Utils

Common utility functions used across projects.

JSR Version JSR Score ci Coverage License

File Utils

import {FileUtils} from "https://deno.land/x/justaos_utils@v1.5.1/mod.ts";
const obj = FileUtils.readJsonFileSync("./sample.json");
console.log(JSON.stringify(obj, null, 4)); // prints content of sample.json

Code of Conduct

Contributor Covenant

Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @justaos/utils

Import symbol

import * as mod from "@justaos/utils";