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

/ifndef/

    Package Sidebar

    Install

    npm i ifndef

    Weekly Downloads

    53

    Version

    0.0.31

    License

    MIT

    Last publish

    Collaborators

    • cijoe