
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
sunlight-labs
Advanced tools
Sunlight Labs provides several APIs for accessing political data within the US. This project is a Node.js wrapper for those APIs. The APIs are:
The work to add missing APIs is not difficult, but it is laborious. I will welcome any contributions that can add the missing APIs.
npm install sunlight-labs
Can currently be used from test server, command-line, or from Node.js. Requires a Sunlight Labs api key, which is free and easy at their website.
You have to do a global install to enable the command-line. [sudo] npm install -g sunlight-labs.
Type sunlight-labs server to start a local server, and then browse to http://localhost:3000/sunlightlabs/testapp/.
You have to do a global install to enable the command-line. [sudo] npm install -g sunlight-labs.
Type sunlight-labs --help for a list of commands. For a given command x, type sunlight-labs x --help for help. For command-line usage, set an environment variable SUNLIGHT_API_KEY with your key.
Like any other API. Run the test server or the command-line to get help on the available commands and their parameters.
var sunlight = require('sunlight-labs');
var config = {};
config.name = "Nancy Pelosi"
sunlight.searchLegislators(config, function(err, result) {
//do something with the result
});
FAQs
Provides a Node API wrapper to the sunlight labs apis
The npm package sunlight-labs receives a total of 0 weekly downloads. As such, sunlight-labs popularity was classified as not popular.
We found that sunlight-labs 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.