em-sound-smarter
v1.0.0
Published
A Next.js plugin with SWC transformation for JSX text rewriting
Downloads
14
Maintainers
Readme
Sound Smarter
A Next.js plugin that makes you sound smarter by replacing all your JSX text with a single word.
Overview
This plugin transforms your Next.js application at build time, to use the POWER OF AI to make you sound smarter and minimalist. All the words you need in one place. Perfect for single page projects where you want to sound consistent. (Don't use it on bigger projects actually)
Installation
Install the package:
npm install em-sound-smarterAdd to your
next.config.js:import { withSoundSmarter } from "em-sound-smarter/config"; export default withSoundSmarter( { // your existing Next.js config }, { enabled: true, targetWord: "bruh", } );
Development
Prerequisites
Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shAdd WASM target:
rustup target add wasm32-wasip1Install dependencies:
npm install
Build
npm run buildLocal Development
# Build and link locally
npm run build
npm link
# In your test project
npm link em-sound-smarter