0.0.4 • Published 9 months ago

@gleam-tools/utils v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Utis npm

A collection of utilities for the Gleam Tools

Usage

API

assert

Assert function

isGleamFile

Check if a file is a Gleam file

isJsFile

Check if a file is a JavaScript file

readJsFile

Read a Gleam file and return its content

getJsFilePath

Get the path of the JavaScript file generated from a Gleam file

build

Build the project using Gleam

readGleamConfig

Read the Gleam configuration file

readSyncGleamConfig

Read the Gleam configuration file

getDeclarationFilePath

Get the path of the declaration file generated from a Gleam file

Note

This is only for internal use and should not be used outside of the Gleam Tools project.

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago