es5exports

0.0.3 • Public • Published

es5exports

NPM version MIT License fliphub flipfam

easy named exports in es5

📦 usage

yarn add es5exports
npm i es5exports --save

📘 example

const es5exports = require('es5exports')
 
const obj = {core: true}
const export1 = {prop1: true}
const export2 = {prop2: true}
 
exports.one = export1
exports.two = export2
exports['default'] = obj
 
module.exports = es5exports(exports['default'], exports)

Readme

Keywords

none

Package Sidebar

Install

npm i es5exports

Weekly Downloads

2

Version

0.0.3

License

none

Last publish

Collaborators

  • aretecode