UNPKG

@zce/create-nm

Version:

A scaffolding tools for creating node modules.

11 lines (8 loc) 277 B
// TODO: Implement module module.exports = (name, options) => { if (typeof name !== 'string') { throw new TypeError(`Expected a string, got <%= '${typeof name}' %>`) } options = Object.assign({}, options) return `<%= '${name}@${options.host || \'zce.me\'}' %>` }