adrianlee44 / ical2json

A simple node package to convert ical data to json
MIT License
66 stars 12 forks source link

require default #48

Closed chnkd closed 2 years ago

chnkd commented 2 years ago

https://github.com/adrianlee44/ical2json/blob/75911e53baad89feacdc836d14ce7aa89dec99a6/bin/ical2json#L23

It should be accessed with default().

require(dir + 'build/cli.js').default(commander);
adrianlee44 commented 2 years ago

Thanks for catching this!