canna 0.2.5 copy "canna: ^0.2.5" to clipboard
canna: ^0.2.5 copied to clipboard

A Simple Static Site Generator for my Simple Needs

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate canna

Use it

The package has the following executables:

$ canna

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add canna

With Flutter:

 $ flutter pub add canna

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

dependencies:
  canna: ^0.2.5

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:canna/config.dart';
import 'package:canna/content.dart';
import 'package:canna/file.dart';
0
likes
120
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

A Simple Static Site Generator for my Simple Needs

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

markdown, path

More

Packages that depend on canna