Socket
Book a DemoInstallSign in
Socket

article-shuffle

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

article-shuffle

不改变文字显示的原有顺序,而改变在 DOM 树中顺序.

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

逻辑打乱文字

不改变文字显示的原有顺序,而改变在 DOM 树中顺序.

0511193628

Demo: https://innei.github.io/shuffle-article/

使用

yarn add article-shuffle
import { process } from 'article-shuffle'
const $article = document.querySelector('article')
$article.innerHTML = originHTML

$article.querySelectorAll('p').forEach(($p) => {
  process($p)
})

Keywords

shuffle

FAQs

Package last updated on 11 May 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