dinja 1.0.0 copy "dinja: ^1.0.0" to clipboard
dinja: ^1.0.0 copied to clipboard

A minimal, zero-dependency Jinja templating engine for Dart, ported from llama.cpp. Focused on security and efficiency.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dinja

With Flutter:

 $ flutter pub add dinja

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dinja: ^1.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dinja/dinja.dart';
1
likes
160
points
204
downloads

Publisher

verified publisherleehack.com

Weekly Downloads

A minimal, zero-dependency Jinja templating engine for Dart, ported from llama.cpp. Focused on security and efficiency.

Repository (GitHub)
View/report issues

Topics

#jinja2 #template #llm #security #chat-templates

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on dinja