Feature #41706

Provide standard library with configurable usage

Added by Christopher Hlubek over 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Should have
Target version:
-
Start date:
2012-10-08
Due date:
% Done:

100%

Estimated time:

Description

Eel should include a standard library with the most basic functions for Date, String and Array.

Suggestion:


Date.now().format("d.m.Y")
String.strftime("%d.%m.%Y", Date.now())
Array.join(Array.reverse(items), ' - ')
Array.count([1, 2, 3])

Eel should still be usable with an empty Context for total flexibility.


Related issues

Related to Base Distribution - Task #41859: Create a standard library for common string, array and date functions in EELAcceptedChristopher Hlubek

Actions

Also available in: Atom PDF