custom-rendrer weekly downloads statistics
By anshm_18 · npm · Webpack plugins
Non-destructive DOM presentation layer & build plugin (Vite, Webpack, Rollup) for web applications.
custom-rendrer has 47 recorded weekly downloads on npm, a change of +14.6% over the past 7 days, ranking #2788 of 3,247 tracked listings.
About custom-rendrer
custom-rendrer
A presentation-layer abstraction and masking engine with build-time plugins for Vite, Webpack, and Rollup.
It visually transforms on-screen text using CSS pseudo-elements while leaving the underlying DOM text nodes and application state intact. This guarantees that React/Vue component reconciliations, DOM queries, and form submissions remain unmodified.
Features
- DOM Preservation: Modifies visual presentation via attribute-driven CSS pseudo-elements without altering internal
textContent. - Bidirectional Mapping: Supports automated case matching (lower, capitalized, UPPER) and context-aware overrides.
- Build Plugin Integration: First-class plugins for Vite, Webpack, and Rollup to inject rules at build time.
- Safe I/O Defaults: Form controls (
<input>,<textarea>) and sensitive elements (<code>,<pre>) are excluded by default. - Dynamic Updates: Built-in
MutationObserverautomatically applies rules to asynchronously loaded or re-rendered components.
Installation
npm install custom-rendrer
Usage
1. Vite Setup
Add the plugin to your vite.config.js:
import { defineConfig } from 'vite';
import { frontendAbstractionVitePlugin } from 'custom-rendrer/vite';
export default defineConfig({
plugins: [
frontendAbstractionVitePlugin({
rules: [
{ original: 'Merchant', display: 'Retailer' },
{ original: 'Invoice', display: 'Statement' }
],
config: {
excludeInputs: true,
},
}),
],
});
2. Webpack Setup
Add the plugin to your webpack.config.js:
import { FrontendAbstractionWebpackPlugin } from 'custom-rendrer/webpack';
export default {
// ... Webpack config
plugins: [
new FrontendAbstractionWebpackPlugin({
rules: [
{ original: 'Merchant', display: 'Retailer' },
],
}),
],
};
3. Client-side Runtime Usage
You can also import and configure the runtime manually in your application:
import { runtime, initAbstractionRuntime } from 'custom-rendrer/runtime';
// Initialize with custom options
const appRuntime = initAbstractionRuntime({
excludeInputs: true,
});
// Add dynamic user mappings on the fly
appRuntime.addMapping('Customer', 'Client');
Rule Configuration
Each transformation rule accepts the following properties:
| Property | Type | Description |
|---|---|---|
original | string | RegExp | The term to match in source elements |
display | string | The substituted visual display text |
priority | number | Rule priority (higher numbers take precedence) |
context | object | function | Optional criteria (e.g. { elementType: 'th' }) |
caseSensitive | boolean | When false, matches and preserves original casing |
Publishing
To verify package contents before publishing:
npm pack --dry-run
To run test validations:
npm test
To publish to npm:
npm publish
Description from the npm listing.
- vite
- vite-plugin
- webpack
- webpack-plugin
- rollup
- rollup-plugin
- frontend
- dom-abstraction
- data-masking
- presentation-layer
- text-transform
- react
- vue
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (128)Similar npm Webpack plugins plugins
All 20 custom-rendrer alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/custom-rendrer. First seen Nov 26, 2026; last successful collection Dec 6, 2026. See the methodology.