Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

dy/get-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

get-doc

Return document, if there’s DOM. Just a way simpler than get-document. Use to avoid document is undefined error.

$ npm isntall get-doc

var doc = require('get-doc');

doc; //`document` in browser, `null` in node

NPM

About

Get document if there’s DOM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published