
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
CSV convert to file with mustache.js template engine
name,lon,lat
site1,37.35283315785131,127.10973623874524
site2,37.54505211168097,126.96725290258685
site3,37.65628827419806, 127.25682722308225
insert into map_source.tbl_map_source_layer_fragment
(geometry, map_source_layer_id, id, "name")
values (ST_Transform(ST_GeomFromText('POINT({{lon}} {{lat}})', 4326), 3857), 6, '', '{{name}}');
insert into map_source.tbl_map_source_layer_fragment
(geometry, map_source_layer_id, id, "name")
values (ST_Transform(ST_GeomFromText('POINT(127.10973623874524 37.35283315785131)', 4326), 3857), 6, '', 'site1');
# global use
npm install -g csv2file
# module import
npm install csv2file
csv2file -i ./example/example.csv -t ./example/template.sql
const csv2file = require('csv2file');
// return Promise
csv2file({
input: './example.csv',
template: './template.sql',
output: './example.sql',
});
MIT LICENSE.md
FAQs
CSV templating to file
The npm package csv2file receives a total of 1 weekly downloads. As such, csv2file popularity was classified as not popular.
We found that csv2file demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.