Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@agile-ts/api
Advanced tools
Promise based HTTP request API for Node.js
// Let't create our API
const api = new API({
baseURL: 'https://myapp.com', // Base Route to the Host
timeout: 10000, // After which amount of time a request times out
options: { credentials: 'include' } // Http/s Request Options from type RequestInit
});
// Now we can create our first Request to 'https://myapp.com/hello'
const response = await api.get('/hello');
console.log(response);
/*
{
data: {hello: "Jeff"}; // Response Data
timedout: false; // If Request has timedout
status: 200; // Response Status Code
raw: Response; // Raw Response from type Response
type: "application/json"; // Response Type
}
*/
Write minimalistic, boilerplate free code that captures your intent.
For instance
Learn the powerful and simple tools of Agile Api in a short amount of time.
Agile Api has an unpacked size of 2kB and 0 external dependencies.
npm install @agile-ts/api
The api
package is an extension of AgileTs and doesn't work without the core
package,
which functions as the brain of AgileTs and is indispensable.
Unfortunately, we can't combine each core
with api
version.
Therefore, we have created a table which shows which versions fit together without restrictions.
@agile-ts/api | @agile-ts/core | NPM Version |
---|---|---|
v0.0.7+ | v0.0.7+ | v6+ |
v0.0.6 | v0.0.3 - v0.0.6 | v6+ |
Other Versions aren't supported anymore |
The Agile Api Docs are located here
FAQs
Promise based HTTP request API for Node.js
The npm package @agile-ts/api receives a total of 18 weekly downloads. As such, @agile-ts/api popularity was classified as not popular.
We found that @agile-ts/api 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.