UNPKG

leo

Version:

Command line tool for building Arduino firmware using Node.js and Npm.

6 lines (4 loc) 120 B
var path = require('path'); module.exports = function toExt(f,ext){ return path.basename(f,path.extname(f)) + ext; }