crawler_detector 0.0.2 crawler_detector: ^0.0.2 copied to clipboard
Functions for detecting user agents that are web crawlers, such as search engines, ad systems, and more, which can help optimizing the app for better crawlability.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add crawler_detector
With Flutter:
$ flutter pub add crawler_detector
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
crawler_detector: ^0.0.2
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:crawler_detector/crawler_detector.dart';