UNPKG

336 BJavaScriptView Raw
1var trim = require('../utils/trim');
2
3function parse(content) {
4 var name = trim(content);
5
6 if (name.length === 0)
7 return null;
8
9 return {
10 name: name
11 };
12}
13
14/**
15 * Exports
16 */
17module.exports = {
18 parse : parse,
19 path : 'local.use',
20 method : 'push',
21 preventGlobal: true
22};