Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lightapis/arrive-type
A generic version of @types/arrive.
https://github.com/lightapis/arrive-type
arrive type types
Last synced: 7 days ago
JSON representation
A generic version of @types/arrive.
- Host: GitHub
- URL: https://github.com/lightapis/arrive-type
- Owner: LightAPIs
- License: mit
- Created: 2023-10-15T08:39:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-15T10:48:27.000Z (about 1 year ago)
- Last Synced: 2024-09-19T15:47:44.917Z (about 2 months ago)
- Topics: arrive, type, types
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@dragonish/arrive-type
- Size: 30.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# arrive-type
A generic version of `@types/arrive`.
## Installation
```shell
npm install arrive
npm install @dragonish/arrive-type -D
```## Configuration
Add to the `tsconfig.json` file:
```json
{
"compilerOptions": {
"typeRoots": [
"./node_modules/@types",
"./node_modules/@dragonish"
]
}
}
```## Usage
```typescript
document.arrive('img', img => {
const src = img.src;
// ...
});
```## Credits
- [DefinitelyTyped/DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped)
- [uzairfarooq/arrive](https://github.com/uzairfarooq/arrive)## License
[MIT](./LICENSE)