Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@remirror/core-utils

Package Overview
Dependencies
Maintainers
1
Versions
287
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remirror/core-utils

Core utilities for dealing with the dom and prosemirror within remirror

  • 0.0.0-pr1344.1
  • pr1344
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14K
decreased by-65.89%
Maintainers
1
Weekly downloads
 
Created
Source

@remirror/core-utils

Provides core utility functions which are used throughout the remirror codebase.

Version Weekly Downloads Bundled size Typed Codebase MIT License

Installation

This is included by default when you install the recommended remirror package. All exports are also available via remirror/core/utils and remirror/core.

Usage

If you plan to support SSR and need to parse the html contents of the editor in an SSR environment then min-document is automatically added to all node environments.

However, min-document can't actually parse the content properly since the implementation is intentionally underpowered. To properly parse content from a html string you will need to install either jsdom or domino. These dependencies are only included within non-browser builds and won't bloat your bundle size in the browser.

FAQs

Package last updated on 24 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc