Socket
Socket
Sign inDemoInstall

@ephox/phoenix

Package Overview
Dependencies
4
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ephox/phoenix

DOM node text gathering library, rose from the ashes of some other projects we can't remember the names of now (edit: seek, sherlock, gift)


Version published
Weekly downloads
933
increased by117.48%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

Description

phoenix is a project that handles DOM node text gathering.

Installation

phoenix is available as an npm package. You can install it via the npm package @ephox/phoenix

Install from npm

npm install @ephox/phoenix

Usage

Dom

DomDescent: Used to navigate through a node's children. DomExtract: Used to extract a selection point in a node. DomFamily: Used to extract text within a given range or group of elements. DomGather: Used to extract text around a given point. DomInjection: Used to insert text. DomSearch: Used to search for words in given elements. DomSplit: Used to split text nodes in a given element. DomWrapping: Used to wrap text nodes.

General

Descent: Used to navigate through a node's children with a given DOM universe. Extract: Used to extract a selection point in a node with a given DOM universe. Family: Used to extract text within a given range or group of elements with a given DOM universe. Gather: Used to extract text around a given point with a given DOM universe. Injection: Used to insert text with a given DOM universe. Search: Used to search for words in given elements with a given DOM universe. Split: Used to split text nodes in a given element with a given DOM universe. Wrapping: Used to wrap text nodes with a given DOM universe.

Tests

phoenix uses bedrock to run atomic tests.

Running Tests

$ yarn test

FAQs

Last updated on 06 Feb 2024

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc