indicator-extractor
Extract indicators (IP, domain, email, hashes, etc.) from a string or a PDF file written in Rust.
Usage
Web 
A WebAssembly build is available on npm and can be installed like the following:
Then you can use it like this:
import from "indicator-extractor";
const resultStr = ;
console.log; // ['{"kind":"Url","value":"https://github.com"}']
// Similarly for the other functions
const extractPdf = ;
const extractBytes = ;
Rust 
The crate is available on crates.io and can be installed like the following:
cargo add indicator-extractor
To extract indicators from a string/bytes
use extract_indicators;
let result = extract_indicators;
println!; // Ok(([], [Indicator::Url("https://github.com")])
To extract indicators from a PDF file
use ;
let pdf_data = read.unwrap;
let pdf_string = PdfExtractor.extract;
let result = extract_indicators;