isBlankPage
judge if the page is blank
useage
import isBlankPage from 'isblankpage'
isBlankPage().then(res =>console.log(res))
isBlankPage(document.body, true).then(res =>console.log(res))
judge if the page is blank
import isBlankPage from 'isblankpage'
isBlankPage().then(res =>console.log(res))
isBlankPage(document.body, true).then(res =>console.log(res))
npm i isblankpage
4
1.0.2
ISC
4.65 kB
4