1.0.2 • Published 3 years ago
usmap-downloader v1.0.2
usmap-downloader
A usmap downloader, only for benbot at the moment.
Features
- Downloads Mappings
- Only for benbot
Requirements
It's not that much, don't expect much.
const Mappings = require('usmap-downloader'); // Define the class
(async () => {
const mappings = new Mappings({
compressionMethod: 'Oodle' // The compression method that we want to download from benbot.
});
await mappings.downloadUSMAP(await mappings.getMappings(), './mappings/'); // Get the mappings, and define the folder that has already been made.
});