1 | var trim = require('../utils/trim');
|
2 |
|
3 | function 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 | */
|
17 | module.exports = {
|
18 | parse : parse,
|
19 | path : 'local.use',
|
20 | method : 'push',
|
21 | preventGlobal: true
|
22 | };
|