const localRange = require('local-range');
localRange
.toSubsetRanges({
// a folder to parse (i.e. ~/project/locale)
folder: '',
// with languages (folders) to include (default: all)
include: [],
// or languages (folders) to exclude / ignore (default: none)
exclude: [],
// how text / sentences should be retrieved
// (by default the message field of the lang object)
getText: info => info.message
})
.then(console.log)
.catch(console.error);
-
Notifications
You must be signed in to change notification settings - Fork 0
License
WebReflection/local-range
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published