Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

baucis-csv

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baucis-csv

Baucis CSV formatter plugin.

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

baucis-csv

CSV Formatter plugin for Baucis Format streams of data as CSV.

Usage

  1. Include the plugin: var baucisCsv = require('baucis-csv');
  2. Register the plugin in baucis with: baucisCsv.apply(baucis);

Test

Query a baucis resource passing the MIME Header Accept: text/csv For example, using curl tool from the command line:

curl localhost:5000//api/myresource -H "Accept: text/csv"

Sample output:

HTTP/1.1 200 OK
Content-Type: text/csv; charset=utf-8

_id,name,surname,index,active,__v
53cff8081c6821a40eecd795,Alicia,Keys,12,true,0
53d9370ddc9707301e0801ea,Jessica,Alba,34,true,0

Keywords

FAQs

Package last updated on 26 Aug 2014

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc