csp 0.1.1 copy "csp: ^0.1.1" to clipboard
csp: ^0.1.1 copied to clipboard

Reads and writes Content Security Policy (CSP) strings.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add csp

With Flutter:

 $ flutter pub add csp

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

dependencies:
  csp: ^0.1.1

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:csp/csp.dart';
0
likes
120
pub points
6%
popularity

Publisher

unverified uploader

Reads and writes Content Security Policy (CSP) strings.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0, BSD-3-Clause (LICENSE)

Dependencies

collection, kind, meta

More

Packages that depend on csp