New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@badrap/libapp

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@badrap/libapp

TypeScript helpers for creating Badrap apps

0.7.4
Version published
Weekly downloads
90
2900%
Maintainers
0
Weekly downloads
 
Created

libapp tests

TypeScript helpers for creating Badrap apps.

Installation

npm i @badrap/libapp

Enabling JSX/TSX support

To enable JSX/TSX support for your whole codebase, modify your tsconfig.json file by adding in the following lines:

{
  "compilerOptions": {
    "jsx": "react-jsx",
    "jsxImportSource": "@badrap/libapp"
  }
}

To enable JSX/TSX support for just one specific file, add the following pragma comment to the beginning of that file:

/* @jsxImportSource @badrap/libapp */

License

This library is licensed under the MIT license. See [./LICENSE].

FAQs

Package last updated on 14 Sep 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