Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flowyroll/lodash.lua
lodash inspired library for lua
https://github.com/flowyroll/lodash.lua
Last synced: 3 months ago
JSON representation
lodash inspired library for lua
- Host: GitHub
- URL: https://github.com/flowyroll/lodash.lua
- Owner: flowyroll
- Created: 2015-08-16T16:47:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-02T06:13:26.000Z (almost 2 years ago)
- Last Synced: 2024-05-18T20:47:45.644Z (6 months ago)
- Language: Lua
- Size: 132 KB
- Stars: 66
- Watchers: 5
- Forks: 21
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-resty - Lodash.lua
README
# Lodash for Lua #
[![CircleCI](https://circleci.com/gh/HustLion/lodash.lua.svg?style=svg)](https://circleci.com/gh/HustLion/lodash.lua)
## lodash.lua v0.02
lodash inspired library for lua### Summary ###
A functional programming library for lua in respect to the javascript library lodash.
### How to use the library? ###
- Install the library using luarocks: ```luarocks install lodash```
or simply add lodash.lua file from this git repository.
- import it like this in to your code
```lua
local _ = require 'lodash'
```
- and then you can use good sort of functions:```lua
_.print(_.map({1, 2, 3, 4, 5}, function(n)
return n * 2
end))
```- Follow the [API documentation](http://axmat.github.io/lodash.lua) for the complete list.