New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

barejsx

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

barejsx

Standalone JSX-native component primitives for simple render/unrender components.

latest
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

barejsx

Standalone JSX-native component primitives for simple render / unrender components.

Install

npm install barejsx

TypeScript / JSX setup

Use the package itself as the JSX import source:

{
	"compilerOptions": {
		"jsx": "react-jsx",
		"jsxImportSource": "barejsx"
	}
}

Usage

import { Elem } from 'barejsx';

const elem = <Elem as="section">
	<div class="example">
		<span>Hello</span>
	</div>
</Elem>;

elem.render(document.body);

Keywords

jsx

FAQs

Package last updated on 20 Mar 2026

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