Import easily only the modules you need from lodash. Supports lodash 4.5.0v.
- CommonJS: typing
r_mapwill resolve tovar map = require('lodash/map'); - ES2015: typing
i_mapwill resolve toimport map from 'lodash/map';
The recommended way is by using Package Control:
- open the command palette by typing
⌘+shift+pon OS X orctrl+shift+pon Windows/Linux - select
Package Control: Install Package - type
Lodash modules snippets
The other way is:
- open the terminal on sublime's packages folder
- type
git clone https://github.com/oriSomething/lodash-modules-sublime.git