New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

nolimitid-crawl-storing

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nolimitid-crawl-storing

Nolimit's own crawler storing engine module

latest
npmnpm
Version
1.0.12
Version published
Weekly downloads
5
66.67%
Maintainers
1
Weekly downloads
 
Created
Source

Nolimit Crawl Storing

This is how to store file and metadata based on injecting data of object. You just need to define your object of metadata and your input files. Install it with npm install nolimit-crawl-storing Just require var file = require('nolimitid-crawl-storing')

How to use

file.inject(metadata,object) You need to define your metadata in object type, then input your object/content subsequently in parameter. It will automatically save file if buffer reach buffer maximum size.

file.bufferFlush(metadata) This is how to emptied your buffer, by writing it to file manually. Its useful to make sure your buffer is stored

file.flushAll() This is how to emptied all of your buffers, by writing it to files manually. Its useful to make sure all your buffers is stored

file.setBufferSize(size) This is how you define your buffer size level, default is 50 or defined by config.json in module

file.setIncomingDir(size) This is how you define your temp dir for files, default is ../ or defined by config.json in module

file.setOutputDir(size) This is how you define your output dir for files, default is ./ or defined by config.json in module

file.setInterval(isTrue,interval) This is how you define your store engine flush buffer periodically. Set isTrue with true or false, true for periodically run and false to disable it. Set interval is optional to set periodic time to flush, default is 60000ms

Keywords

nolimit

FAQs

Package last updated on 11 Jun 2015

Related posts