valync
Version:
**A lightweight, framework-agnostic async data handling library for React & Vue, inspired by Riverpod’s AsyncValue pattern and powered by ts-results-es.**
101 lines • 2.04 kB
JSON
{
"name": "valync",
"version": "0.4.2",
"main": "dist/core/index.js",
"types": "dist/core/index.d.ts",
"repository": {
"url": "https://github.com/epikoder/valync",
"type": "git"
},
"exports": {
".": {
"import": "./dist/core/index.js",
"types": "./dist/core/index.d.ts"
},
"./core": {
"import": "./dist/core/index.js",
"types": "./dist/core/index.d.ts"
},
"./react": {
"import": "./dist/react/index.js",
"types": "./dist/react/index.d.ts"
},
"./vue": {
"import": "./dist/vue/index.js",
"types": "./dist/vue/index.d.ts"
}
},
"files": [
"dist"
],
"keywords": [
"valync",
"riverpod",
"riverpod-js",
"async",
"async-data",
"async-state",
"state-management",
"data-fetching",
"api-response",
"cache",
"error-handling",
"abortcontroller",
"option-result",
"ts-results",
"typescript",
"client-side",
"promise-wrapper",
"http-client",
"react",
"react-hook",
"react-async",
"vue",
"vue3",
"vue-async",
"vue-composition-api",
"lightweight",
"monorepo",
"frontend-utils",
"data-hooks",
"custom-hook",
"swr",
"tanstack-query",
"epikoder"
],
"dependencies": {
"ts-results-es": "^5.0.1"
},
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/jest": "^30.0.0",
"@types/node": "^25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.0.0",
"@vue/test-utils": "^2.4.6",
"jest": "^30.3.0",
"jest-environment-jsdom": "^30.0.0",
"react": "19.2.5",
"react-dom": "19.2.5",
"ts-jest": "^29.4.9",
"typescript": "^6.0.3",
"vue": "^3.5.0"
},
"peerDependencies": {
"react": ">=18.0.0",
"vue": "^3.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"vue": {
"optional": true
}
},
"scripts": {
"build": "tsc -b",
"test": "jest"
}
}