@feugene/granularity-code

  • With components
  • v1.1.0
  • 3 components

Code on the page: viewing, editing and diff. The viewer and the diff carry no dependencies at all; the editor asks for CodeMirror only if you take the editor.

core tag v1.1.1

On this page
version
1.1.0
Public subpaths
13
Components
3
Runtime dependencies
0

How the package describes itself on npm: Code surfaces for @feugene/granularity: view, edit and diff — the viewer and the diff carry no dependencies at all.

Installation

The command installs the package and its required peer dependencies: the library does not bring them, because your application already has them.

npm i @feugene/granularity-code @feugene/granularity @feugene/granum vue
pnpm add @feugene/granularity-code @feugene/granularity @feugene/granum vue
yarn add @feugene/granularity-code @feugene/granularity @feugene/granum vue
bun add @feugene/granularity-code @feugene/granularity @feugene/granum vue

Optional peer dependencies

Declared optional: they are needed only by the part of the package that uses them. Your package manager will not remind you about them.

  • @codemirror/commands
  • @codemirror/language
  • @codemirror/state
  • @codemirror/view
  • @feugene/fint-i18n
  • @feugene/unplugin-granularity
  • unplugin-vue-components

What is inside

The manifest declares 13 entry points — importing through them is what keeps the bundle free of what you did not use.

No runtime dependencies: only the code of the package itself reaches your application.

Components

Package documentation

Written in the library repository. The portal links to it rather than retelling it.