biga.ahk

0.57.1 • Public • Published


A modern immutable utility library for AutoHotkey. Takes out the hassle of working with arrays, objects, strings, etc.

Long-form README and documentation: https://biga-ahk.github.io/biga.ahk

Mirrors functionality and method names of Lodash

⚠️ alpha - may have defects prior to v1.0.0 ⚠️


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

Package Sidebar

Install

npm i biga.ahk

Weekly Downloads

21

Version

0.57.1

License

MIT

Unpacked Size

179 kB

Total Files

5

Last publish

Collaborators

  • chunjee