JSPM

@remirror/pm

1.0.0-next.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 25288
  • Score
    100M100P100Q165892F
  • License MIT

A bundled library containing all the core prosemirror libraries required for using remirror

Package Exports

  • @remirror/pm/commands
  • @remirror/pm/gapcursor
  • @remirror/pm/history
  • @remirror/pm/inputrules
  • @remirror/pm/keymap
  • @remirror/pm/model
  • @remirror/pm/schema-list
  • @remirror/pm/state
  • @remirror/pm/suggest
  • @remirror/pm/tables
  • @remirror/pm/transform
  • @remirror/pm/view

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@remirror/pm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@remirror/pm

All the bundled prosemirror dependencies which are required for the remirror core libraries.

Version Weekly Downloads Bundled size Typed Codebase MIT License

Installation

yarn add @remirror/pm@next # yarn
pnpm add @remirror/pm@next # pnpm
npm install @remirror/pm@next # npm

Usage

This bundles up the prosemirror libraries into one package to make development and consumption of the remirror codebase simpler. Since the prosemirror libraries all provide es modules then tree shaking with rollup and webpack means that the compiled code only picks out what is used.

This library is a required peer dependency when using remirror in your codebase. While you may never need to use it directly, the following code is an example of how you could potentially consume it.

import { View } from '@remirror/pm/view';
import { EditorState } from '@remirror/pm/state';
import { Suggest } from '@remirror/pm/suggest';

// Top level (not recommended).
import { Node, Mark } from '@remirror/pm';

And that is'

Credits

This package was bootstrapped with monots.