ifndef
TypeScript icon, indicating that this package has built-in type declarations

0.0.31 • Public • Published

ifndef

Singletone guard for modules.

import { ifndef } from 'ifndef'
export let name = 'First' 
 
module.exports = ifndef('whatsInAName', module.exports)

inspired by ifdef

Readme

Keywords

none

Package Sidebar

Install

npm i ifndef

Weekly Downloads

37

Version

0.0.31

License

MIT

Last publish

Collaborators

  • cijoe