Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * themeFinder.find
- *
- * config {object}
- *
- * all {boolean} default=false: if set to true themeFinder will look for both themelets and themes (this functionality does not currently exist)
- * global {boolean} default=false: if set to true themeFinder will find modules installed globally on your machine
- * keyword {string} default='liferay-theme': keyword used for searching npm registry
- * searchTerms {string} default=null: additional search terms for filtering results
- * themelet {boolean} defualt=false: if set to true themeFinder will return themelet modules instead of theme. Has no affect if `all` is set to true
- *
- * cb {function}: receives two arguments
- *
- * err: if everything was successful it will be null
- * results: array of package.json objects
- */
- themeFinder.find(config, function(err, results) {
- });
- /**
- * themeFinder.name
- *
- * name {string} default=null: name of npm module
- * cb {function}: receives two arguments
- *
- * err: if everything was successful it will be null
- * result: package.json file npm module
- */
- themeFinder.name(name, function(err, result) {
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement