@onlay/app weekly downloads statistics
By onlay · npm · Webpack plugins
Add Onlay to a website or web app you deploy yourself: reviewers comment on its real pages, and an optional build plugin tells your agent which file drew each one.
@onlay/app has 15 recorded weekly downloads on npm, a decrease of 92.2% over the past 30 days, ranking #3059 of 3,247 tracked listings.
About @onlay/app
@onlay/app
Add Onlay to a website or web app you deploy yourself.
Reviewers comment on its real pages, and your coding agent pulls the threads
with onlay pull <app>.
You do not need this package to use Onlay on an app. One script tag in the
<head> of your layout is the whole install; onlay app add prints it with
your app's key:
<script src="https://static.onlaycontent.com/app.v1.js" data-onlay-app="a_…" defer></script>
This package is for two other cases: an app with no HTML template to paste the tag into, and the optional build plugin that tells your agent which file drew each element.
The loader
A few lines, with no copy of Onlay inside, so it never goes stale. It adds the same tag.
import { onlay } from '@onlay/app';
// In a client entry. Does nothing on the server, and nothing the second time.
onlay({ app: 'a_…', commit: import.meta.env.VITE_COMMIT });
onlayTag({ app }): the tag as an HTML string, for a server template.onlayScript({ app }):{ src, attributes }, for a framework's<Script>or<Head>.
commit is optional. Given the full SHA of the deployed commit, a reader on
an older deploy is told so. A wrong key throws at build time.
The build plugin
Optional. It writes on each HTML element in your own JSX, TSX, Vue and Svelte the file and line that drew it:
<h1 data-onlay-src="src/components/hero.tsx:12">Simple pricing for teams</h1>
onlay pull prints that on each thread as a drawn at line: the file and
line that drew the block, in the build the reader saw. It is what the build
recorded, not a guess, so your agent starts from the right place:
- the header's "Docs" and not the footer's, where the same words are in both;
- the component that showed text that is data (a value, a row, a translated string), which no search of the code can find.
Without it, the pull gives the page and the reader's words, and your agent finds them in its own code.
// vite.config.ts (Vite, SvelteKit, and other frameworks built on Vite; first in the list)
import onlaySource from '@onlay/app/vite';
export default defineConfig({ plugins: [onlaySource(), react()] });
// next.config.ts (Turbopack or webpack)
import { withOnlay } from '@onlay/app/next';
export default withOnlay({ /* your config */ });
Also @onlay/app/webpack, /rollup, /rspack and /esbuild.
What it does and doesn't touch
- Only elements the HTML and SVG specs name.
<p>is stamped,<Card>and<n-button>are not: an attribute on a component is a prop. A component's own elements are stamped in its own file. - Only your own files. Nothing in
node_modules. MDX, Astro and Pug templates are left alone, so their threads have nodrawn atline. - One attribute, inserted after the tag name. If it can't parse a file with certainty, it leaves the file as it was. It never fails a build.
- Paths from the repository's root, the way
git ls-filesnames them, so the agent opens them in its checkout as they are. - Vue and Svelte are parsed by your app's own compiler, the version that builds the file.
Options
onlaySource({
// On unless false. The paths are in your page's HTML for anyone to read.
// To leave them out of production:
enabled: process.env.VERCEL_ENV !== 'production',
// The folder paths are measured from. The nearest folder with .git, unless given.
root: '../..',
});
Requires Node 20.19 or later.
License
MIT, for this package's code. The Onlay service it connects to is used under Onlay's terms.
Description from the npm listing.
- onlay
- review
- comments
- feedback
- vite-plugin
- webpack-plugin
- nextjs
- unplugin
- website-feedback
- visual-feedback
- annotation
- coding-agent
- claude-code
- codex
- cursor
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 (142)Similar npm Webpack plugins plugins
All 20 @onlay/app 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/@onlay/app. First seen Nov 10, 2026; last successful collection Dec 6, 2026. See the methodology.