![Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack](https://cdn.sanity.io/images/cgdhsj6q/production/6af25114feaaac7179b18127c83327568ff592d1-1024x1024.webp?w=800&fit=max&auto=format)
Security News
Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
apibone
Advanced tools
Readme
apibone is a library which provides some interfaces for queryable services. It simply abstracts request and response objects for its defined functions.
apibone modules query various web services and return responses in requested formatting. Whether the platform is cli or web, modules access same interface for input and output objects.
Apibone breaks queries in three parts:
in command line form:
module [arguments ...] [--parameter value ...]
For example, to execute rates module in order to query 5 USD's TRY value:
$ apibone module rates usd try --amount 5 # cli example
http://example.com/rates/usd/try?amount=5 # web example
module: module name which will be called. (e.g.: rates)
arguments: arguments of operation (e.g.: first argument is usd, second argument is try)
parameters: optional settings for operation (e.g.: amount with value 5)
$ npm install -g apibone
$ mv config.sample.js config.js # rename config.sample.js to config.js
$ apibone module [arguments]
# Examples:
$ apibone modules
$ apibone rates usd try
$ apibone rates usd try --amount 5
$ apibone weather izmir
$ apibone test anyCommand --anyParam=anyValue --anyOptionalParam
$ apibone
apibone> modules
apibone> weather izmir
apibone> /q
$ npm start
# Example:
http://localhost:3000/modules
http://localhost:3000/rates/usd/try?amount=5
http://localhost:3000/weather/izmir
http://localhost:3000/test/anyCommand?anyParam=anyValue&anyOptionalParam&format=text
$ node ./lib/telegrambot.js
$ node ./lib/slackbot.js
MIT, for further details, please see LICENSE file.
See contributors.md
It is publicly open for any contribution. Bugfixes, new features and extra modules are welcome.
FAQs
Abstracts requests and responses to make them platform agnostic
The npm package apibone receives a total of 2 weekly downloads. As such, apibone popularity was classified as not popular.
We found that apibone 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
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.