oniguruma_native 1.0.1+2
oniguruma_native: ^1.0.1+2 copied to clipboard
Oniguruma regex bindings for Dart on every platform: native dart:ffi on IO, WebAssembly on web, behind one vscode-oniguruma-compatible OnigScanner API.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add oniguruma_nativeWith Flutter:
$ flutter pub add oniguruma_nativeThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
oniguruma_native: ^1.0.1+2Alternatively, 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:oniguruma_native/oniguruma_native.dart';