biga.ahk
v0.58.0
Published
A modern immutable utility library for AutoHotkey
Downloads
152
Maintainers
Readme
Long-form README and documentation: https://biga-ahk.github.io/biga.ahk
Mirrors functionality and method names of Lodash
:warning: alpha - may have defects prior to v1.0.0 :warning:
Installation
In a terminal or command line navigated to your project folder:
npm install biga.ahk
In your code only export.ahk needs to be included:
#Include %A_ScriptDir%\node_modules
#Include biga.ahk\export.ahk
A := new biga()
msgbox, % A.join(A.concat(["a"], ["b", "c"]))
; => "a,b,c"
You may also review or copy the library from ./export.ahk on GitHub; #Incude as you would normally when manually downloading.
AutoHotkey v1.1.05 or better is required
Usage
Initiate an instance of the class and use as needed
A := new biga()
wordsArray := A.words("This could be real real useful")
; => ["This", "could", "be", "real", "real", "useful"]
uniqWords := A.uniq(wordsArray)
msgbox, % A.size(uniqWords)
; => 6
msgbox, % A.join(uniqWords, " ")
; => "This could be real useful"
Longer realworld examples available at https://github.com/biga-ahk/biga.ahk/tree/master/examples
Documentation
All methods documented at https://biga-ahk.github.io/biga.ahk
Contributing
Please make pull requests to source found at https://github.com/biga-ahk/biga.ahk