NAME

Text::Nunjucks::Lib - 1:1 port of Nunjucks src/lib.js -- foundation utilities and escaping

VERSION

version 0.001

DESCRIPTION

A 1:1 port of Nunjucks src/lib.js: the foundation utilities (keys, extend, is_array, async_iter and the like), the HTML escaping, and the Node.js path, fs and console functions the loaders call, as lexical POSIX ports (ADR 0018). Called as class methods. The error classes of lib.js are Text::Nunjucks::Lib::TemplateError and Text::Nunjucks::Lib::Error.

Engine-internal: used by Text::Nunjucks::Environment and the code the compiler emits, and not an interface for applications.

SUPPORT

Issues

Please report bugs and feature requests at https://github.com/Getty/p5-text-nunjucks/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.