![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
ipfs-core-types
Advanced tools
IPFS interface definitions used by implementations for API compatibility.
IPFS interface definitions used by implementations for API compatibility.
$ npm i ipfs-core-types
The primary goal of this module is to define and ensure that IPFS core implementations and their respective client libraries implement the same interface, so that developers can quickly change between a local and a remote node without having to change their applications.
It offers a set of typescript interface definitions that define the IPFS core API. Once your implementation implements those APIs you can use the tests found in the interface-ipfs-core module to validate your implementation.
$ npm install ipfs-core-types
Install ipfs-core-types
as one of the dependencies of your project and use it to ensure your implementations API compatibility:
/**
* @implements {import('ipfs-core-types').IPFS}
*/
class MyImpl {
// your implementation goes here
}
import type { IPFS } from 'ipfs-core-types'
class MyImpl implements IPFS {
// your implementation goes here
}
In order to validate API compatibility you can run typescript over your implementation which will point out all the API compatibilities if there are some.
Licensed under either of
Contributions welcome! Please check out the issues.
Also see our contributing document for more information on how we work, and about contributing in general.
Please be aware that all interactions related to this repo are subject to the IPFS Code of Conduct.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
FAQs
IPFS interface definitions used by implementations for API compatibility.
The npm package ipfs-core-types receives a total of 49,585 weekly downloads. As such, ipfs-core-types popularity was classified as popular.
We found that ipfs-core-types demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.