Skip to content

flex-development/estree-util-unassert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

estree-util-unassert

github release npm codecov module type: esm license conventional commits typescript vitest yarn

estree (and esast) utility to remove assertions

Contents

What is this?

This package is a utility that replaces and removes assertions in JavaScript syntax trees.

When should I use this?

TODO: when should i use this?

Install

This package is ESM only.

In Node.js (version 18+) with yarn:

yarn add @flex-development/estree-util-unassert
See Git - Protocols | Yarn  for details regarding installing from Git.

In Deno with esm.sh:

import { unassert } from 'https://esm.sh/@flex-development/estree-util-unassert'

In browsers with esm.sh:

<script type="module">
  import { unassert } from 'https://esm.sh/@flex-development/estree-util-unassert'
</script>

Use

TODO: use

API

TODO: api

Types

This package is fully typed with TypeScript.

Contribute

See CONTRIBUTING.md.