verdaccio types definitions

Usage no npm install needed!

<script type="module">
  import verdaccioTypes from 'https://cdn.skypack.dev/@verdaccio/types';


Typescript types for Verdaccio

Typescript definitions for verdaccio plugins and internal code


For usage with the library, the tsconfig.json should looks like this.

  "compilerOptions": {
    "target": "esnext",
    "module": "commonjs",
    "declaration": true,
    "noImplicitAny": false,
    "strict": true,
    "outDir": "lib",
    "allowSyntheticDefaultImports": true,
    "esModuleInterop": true,
    "typeRoots": [
  "include": [


import type {ILocalData, LocalStorage, Logger, Config} from '@verdaccio/types';

 class LocalData implements ILocalData {

  path: string;
  logger: Logger;
  data: LocalStorage;
  config: Config;
  locked: boolean;