@eslint-zod/utils weekly downloads statistics
By eslint-zod · npm · ESLint plugins
Shared utilities for eslint-zod plugins
@eslint-zod/utils has 326,582 recorded weekly downloads on npm, an increase of 42.5% over the past 30 days, ranking #452 of 3,247 tracked listings.
About @eslint-zod/utils
@eslint-zod/utils
Shared AST utilities for
eslint-plugin-zodeslint-plugin-zod-minieslint-plugin-zod-core
[!NOTE] This package is a dependency of all previously listed packages, so you do not need to install it directly.
API
Every export carries JSDoc with usage notes — refer to the linked source files (or hover in your editor) for the full description and examples. This README only lists what's available.
Root exports — @eslint-zod/utils
Only what the plugins import; every other helper is internal to this package.
createPluginMeta(packageJSONURL)— a plugin'sname,version,getRuleURLandcreateRule, read from itspackage.json; rule docs are expected atdocs/rules/<rule-name>.mdunderrepository.directory; typeRuleCreatorzodImportScope,zodMiniImportScope,zodCoreImportScope— each plugin's import scope;scope.createTracker({ kind, sourceCode? })gives a rule its per-file tracker (typeZodSchemaImportTracker), whose members are documented in its source- type
ZodSchemaMeta— what schema detection returns getZodSchemaBaseType(schemaType)— map a schema factory name to its base type category,nullfor factories rules should not reason aboutgetZodSchemaFactoryName(meta)— the factory a detected chain builds its schema with:meta.schemaType, except thatcoerce.<name>()gives<name>buildZodChainRemoveMethodFix(opts)— remove one method from a chainhasCommentInRange(sourceCode, range)— whether a comment sits inside a range a fixer is about to remove or rewritereadsZodSchemaKind(sourceCode, call)— whether later code may read the kind of schemacallbuilds (a property read,instanceof,.unwrap(),.removeDefault(),.removeCatch(),.apply()), so a fixer must not remove a wrapper or swap the schema there. Once the schema is passed, stored or returned, any such read in the file counts; other files are not seenhasParenthesizedReceiver(member)— whether a member expression's object is wrapped in parentheses ((z.string()).min(1))ZOD_MUTATING_CHECK_NAMES— Zod check names that mutate the validated valueZOD_NON_SCHEMA_PRODUCING_METHODS— Zod method names that do not return a schemaZOD_STRING_FORMAT_METHODS— deprecatedz.string().<format>()methods and the top-level factory replacing each; typeZodStringFormatMethodNameZOD_TYPE_CHANGING_METHODS— chained methods after which the schema may have another type (array,or,pipe,apply, …)
Rule types — @eslint-zod/utils/rule-types
The slice of the linter's rule API the helpers read. The types are structural, so ESLint's and typescript-eslint's own objects are assignable to them and no linter has to be installed: the package's only typescript-eslint dependency is @typescript-eslint/types, for the AST.
RuleContext,RuleListener,RuleModule,RuleMeta— the rule itselfJSONSchema4— the type ofmeta.schema, vendored from typescript-eslint so itsRuleTesteraccepts the rule modulesRuleFix,RuleFixer,ReportDescriptor,ReportFixFunction,ReportSuggestionArray,SuggestionReportDescriptor— reports and fixesSourceCode,TokenSearchOptions,Scope,ScopeVariable,ScopeDefinition,ScopeReference— source and scope access
Shared rule builders — @eslint-zod/utils/rule-builders/<rule-name>
Each rule shared between eslint-plugin-zod and eslint-plugin-zod-mini (some also eslint-plugin-zod-core) exposes its create(...) factory from a dedicated subpath. Plugins keep rule metadata local and reuse the runtime logic.…
Description from the npm listing.
- eslint
- eslint-plugin
- utils
- zod
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 (170)Similar npm ESLint plugins plugins
All 20 @eslint-zod/utils 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/@eslint-zod/utils. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.