
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Simple & lightweight JSON-API client for Kitsu.io and other complient APIs
For breaking changes in 2.0, check the CHANGELOG
yarn add kitsu
npm install kitsu --save
// ES6/Babel/Webpack
import Kitsu from 'kitsu'
// CommonJS/Browserify
const Kitsu = require('kitsu')
// For kitsu.io developers
const kitsu = new Kitsu()
// For other JSON-API uses
const example = new Kitsu({
apiUrl: 'https://example.org/api'
})
// Get a collection of resources
kitsu.get('anime').then(res => console.log(res))
// Get a resource
kitsu.get('anime/1')
// Create a resource
kitsu.post('post', {
content: 'some content'
})
// Update a resource
kitsu.patch('post', {
id: '1',
content: 'new content'
})
// Delete a resource
kitsu.remove('post', 1)
You can find the kitsu package documentation here
Check out the Kitsu.io API documentation for all the available models and their responses and relationships
See CONTRIBUTING
See CHANGELOG
All code released under MIT
FAQs
A simple, lightweight & framework agnostic JSON:API client using Axios
The npm package kitsu receives a total of 4,901 weekly downloads. As such, kitsu popularity was classified as popular.
We found that kitsu demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.