🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@ephox/phoenix

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

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)

8.4.1
latest
Source
npm
Version published
Weekly downloads
2.3K
9.83%
Maintainers
2
Weekly downloads
 
Created
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

Package 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