New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

txt-to-sql

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

txt-to-sql

Tools for convert text data to SQL sentences

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
2
Created
Source

txt-to-sql

Tools for convert text data to SQL sentences

designing npm-version downloads build coverage climate dependencies qa-control

language: English also available in: Spanish

Install

$ npm install -g txt-to-sql

Usage (command-line)

# Generate file.yaml with detected options
$ txt-to-sql --prepare file.txt

# Process file.txt
$ txt-to-sql file.txt

# Process file.txt using streams
$ txt-to-sql --fast file.txt

# Exportr defaults to working directory
$ txt-to-sql --export-default

Usage (code)

var txtToSql = require('txt-to-sql');
var fs = require('fs-promise');

txtToSql.generateScripts('./path/to/file.txt').then(function(generated){
    return fs.writeFile("file.sql", generated.rawSql);
}).then(function() {
    console.log("Done!");
});

License

MIT

FAQs

Package last updated on 03 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts