Socket
Book a DemoInstallSign in
Socket

@alien-dom/node

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alien-dom/node

Hook into the Node.js module loader to compile `alien-dom` components and JSX elements on-the-fly.

latest
Source
npmnpm
Version
0.9.2
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@alien-dom/node

Hook into the Node.js module loader to compile alien-dom components and JSX elements on-the-fly.

Useful for test runners like AVA.

node --loader @alien-dom/node [...]

Usage with AVA

Test your components with the AVA test runner.

NODE_OPTIONS="--loader @alien-dom/node" ava --watch

In your package.json, make sure you have this AVA configuration:

{
  "ava": {
    "extensions": {
      "tsx": "module"
    }
  }
}

FAQs

Package last updated on 30 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts