Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
node-pexels
Advanced tools
Node unofficial client for https://www.pexels.com API. Typescript definitions included.
Simple api client for Pexels powered by got package.
Check out Pexels API for API usage rules and key request.
Node 10+
feat:
docs:
Security updates. Removed es5 support in lib.
Fixes, deps update, etc.
Added retrieving single photo method (#1)
Some fixes in inner logic and interfaces. Added methods args validation. Some fixes in doc.
Some fixes in schema and ts definitions.
Hello, world! First version of package.
async function main() {
const client = new Client({ apiKey: '<YOUR-API-KEY>' });
await client.v1.photos.curated();
}
main();
For more see examples/
You can find schemas here and response example on the Pexels API page.
Client use https. You can use http (if you really want to) by modifying endpoint
property of Client function.
FAQs
Node client for https://www.pexels.com API
We found that node-pexels 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.