Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
#!/usr/bin/env node
'use strict';
const meow = require('meow');
const fileUti = require('file-uti');
const cli = meow(`
Example
$ uti unicorn.md
net.daringfireball.markdown
`);
console.log(fileUti.sync(cli.input[0]));