wopian/kitsu

View on GitHub
packages/kitsu-core/package.json

Summary

Maintainability
Test Coverage
{
  "version": "10.1.5",
  "name": "kitsu-core",
  "description": "Simple, lightweight & framework agnostic JSON:API (de)serialsation components",
  "author": "James Harris <wopian@wopian.me>",
  "contributors": [
    "Brandon Martinez <me@brandonmartinez.com>",
    "Daniel Skogly <daniel.skogly@protonmail.com>",
    "Lukas Erlacher <erlacher@in.tum.de>",
    "Matthew Dias <matthewdias@me.com>",
    "Menthol <bennetteson@gmail.com>",
    "pedep <pedep@users.noreply.github.com>"
  ],
  "license": "MIT",
  "main": "dist/index",
  "module": "dist/index",
  "unpkg": "dist/index.browser.js",
  "jsdelivr": "dist/index.browser.js",
  "types": "types/index.d.ts",
  "homepage": "https://github.com/wopian/kitsu/tree/master/packages/kitsu-core#readme",
  "repository": "https://github.com/wopian/kitsu",
  "bugs": {
    "url": "https://github.com/wopian/kitsu/issues"
  },
  "funding": "https://github.com/sponsors/wopian",
  "engines": {
    "node": ">= 14"
  },
  "keywords": [
    "kitsu",
    "jsonapi",
    "json-api",
    "serialize",
    "deserialize"
  ],
  "scripts": {
    "docs:lint": "documentation lint src/index.js",
    "docs:build": "documentation readme src/index.js --section=API -g true --sort-order source",
    "docs:typescript": "tsc src/index.js --declaration --emitDeclarationOnly --allowJs --outDir types",
    "rollup": "cross-env NODE_ENV=production rollup -c --environment BUILD:production",
    "build": "yarn rollup"
  },
  "size-limit": [
    {
      "path": "./dist/index.js",
      "limit": "2.5 kb",
      "brotli": true
    },
    {
      "path": "./dist/index.mjs",
      "limit": "2.5 kb",
      "brotli": true
    },
    {
      "path": "./dist/index.browser.js",
      "limit": "2.5 kb",
      "brotli": true
    }
  ],
  "gitHead": "5c9778d191d17d7c9790cfc6d0f4e983b4742a53",
  "devDependencies": {
    "@size-limit/preset-small-lib": "~8.2.0"
  },
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "types": "./types/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./index": {
      "types": "./types/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./index.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./index.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./camel": {
      "types": "./types/index.d.ts",
      "import": "./dist/camel.mjs",
      "require": "./dist/camel.js"
    },
    "./camel.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/camel.mjs",
      "require": "./dist/camel.js"
    },
    "./camel.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/camel.mjs",
      "require": "./dist/camel.js"
    },
    "./deattribute": {
      "types": "./types/index.d.ts",
      "import": "./dist/deattribute.mjs",
      "require": "./dist/deattribute.js"
    },
    "./deattribute.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/deattribute.mjs",
      "require": "./dist/deattribute.js"
    },
    "./deattribute.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/deattribute.mjs",
      "require": "./dist/deattribute.js"
    },
    "./deserialise": {
      "types": "./types/index.d.ts",
      "import": "./dist/deserialise.mjs",
      "require": "./dist/deserialise.js"
    },
    "./deserialise.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/deserialise.mjs",
      "require": "./dist/deserialise.js"
    },
    "./deserialise.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/deserialise.mjs",
      "require": "./dist/deserialise.js"
    },
    "./error": {
      "types": "./types/index.d.ts",
      "import": "./dist/error.mjs",
      "require": "./dist/error.js"
    },
    "./error.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/error.mjs",
      "require": "./dist/error.js"
    },
    "./error.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/error.mjs",
      "require": "./dist/error.js"
    },
    "./filterIncludes": {
      "types": "./types/index.d.ts",
      "import": "./dist/filterIncludes.mjs",
      "require": "./dist/filterIncludes.js"
    },
    "./filterIncludes.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/filterIncludes.mjs",
      "require": "./dist/filterIncludes.js"
    },
    "./filterIncludes.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/filterIncludes.mjs",
      "require": "./dist/filterIncludes.js"
    },
    "./kebab": {
      "types": "./types/index.d.ts",
      "import": "./dist/kebab.mjs",
      "require": "./dist/kebab.js"
    },
    "./kebab.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/kebab.mjs",
      "require": "./dist/kebab.js"
    },
    "./kebab.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/kebab.mjs",
      "require": "./dist/kebab.js"
    },
    "./linkRelationships": {
      "types": "./types/index.d.ts",
      "import": "./dist/linkRelationships.mjs",
      "require": "./dist/linkRelationships.js"
    },
    "./linkRelationships.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/linkRelationships.mjs",
      "require": "./dist/linkRelationships.js"
    },
    "./linkRelationships.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/linkRelationships.mjs",
      "require": "./dist/linkRelationships.js"
    },
    "./query": {
      "types": "./types/index.d.ts",
      "import": "./dist/query.mjs",
      "require": "./dist/query.js"
    },
    "./query.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/query.mjs",
      "require": "./dist/query.js"
    },
    "./query.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/query.mjs",
      "require": "./dist/query.js"
    },
    "./serialise": {
      "types": "./types/index.d.ts",
      "import": "./dist/serialise.mjs",
      "require": "./dist/serialise.js"
    },
    "./serialise.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/serialise.mjs",
      "require": "./dist/serialise.js"
    },
    "./serialise.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/serialise.mjs",
      "require": "./dist/serialise.js"
    },
    "./snake": {
      "types": "./types/index.d.ts",
      "import": "./dist/snake.mjs",
      "require": "./dist/snake.js"
    },
    "./snake.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/snake.mjs",
      "require": "./dist/snake.js"
    },
    "./snake.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/snake.mjs",
      "require": "./dist/snake.js"
    },
    "./dist/index": {
      "types": "./types/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./dist/index.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./dist/index.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./dist/camel": {
      "types": "./types/index.d.ts",
      "import": "./dist/camel.mjs",
      "require": "./dist/camel.js"
    },
    "./dist/camel.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/camel.mjs",
      "require": "./dist/camel.js"
    },
    "./dist/camel.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/camel.mjs",
      "require": "./dist/camel.js"
    },
    "./dist/deattribute": {
      "types": "./types/index.d.ts",
      "import": "./dist/deattribute.mjs",
      "require": "./dist/deattribute.js"
    },
    "./dist/deattribute.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/deattribute.mjs",
      "require": "./dist/deattribute.js"
    },
    "./dist/deattribute.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/deattribute.mjs",
      "require": "./dist/deattribute.js"
    },
    "./dist/deserialise": {
      "types": "./types/index.d.ts",
      "import": "./dist/deserialise.mjs",
      "require": "./dist/deserialise.js"
    },
    "./dist/deserialise.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/deserialise.mjs",
      "require": "./dist/deserialise.js"
    },
    "./dist/deserialise.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/deserialise.mjs",
      "require": "./dist/deserialise.js"
    },
    "./dist/error": {
      "types": "./types/index.d.ts",
      "import": "./dist/error.mjs",
      "require": "./dist/error.js"
    },
    "./dist/error.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/error.mjs",
      "require": "./dist/error.js"
    },
    "./dist/error.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/error.mjs",
      "require": "./dist/error.js"
    },
    "./dist/filterIncludes": {
      "types": "./types/index.d.ts",
      "import": "./dist/filterIncludes.mjs",
      "require": "./dist/filterIncludes.js"
    },
    "./dist/filterIncludes.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/filterIncludes.mjs",
      "require": "./dist/filterIncludes.js"
    },
    "./dist/filterIncludes.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/filterIncludes.mjs",
      "require": "./dist/filterIncludes.js"
    },
    "./dist/kebab": {
      "types": "./types/index.d.ts",
      "import": "./dist/kebab.mjs",
      "require": "./dist/kebab.js"
    },
    "./dist/kebab.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/kebab.mjs",
      "require": "./dist/kebab.js"
    },
    "./dist/kebab.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/kebab.mjs",
      "require": "./dist/kebab.js"
    },
    "./dist/linkRelationships": {
      "types": "./types/index.d.ts",
      "import": "./dist/linkRelationships.mjs",
      "require": "./dist/linkRelationships.js"
    },
    "./dist/linkRelationships.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/linkRelationships.mjs",
      "require": "./dist/linkRelationships.js"
    },
    "./dist/linkRelationships.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/linkRelationships.mjs",
      "require": "./dist/linkRelationships.js"
    },
    "./dist/query": {
      "types": "./types/index.d.ts",
      "import": "./dist/query.mjs",
      "require": "./dist/query.js"
    },
    "./dist/query.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/query.mjs",
      "require": "./dist/query.js"
    },
    "./dist/query.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/query.mjs",
      "require": "./dist/query.js"
    },
    "./dist/serialise": {
      "types": "./types/index.d.ts",
      "import": "./dist/serialise.mjs",
      "require": "./dist/serialise.js"
    },
    "./dist/serialise.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/serialise.mjs",
      "require": "./dist/serialise.js"
    },
    "./dist/serialise.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/serialise.mjs",
      "require": "./dist/serialise.js"
    },
    "./dist/snake": {
      "types": "./types/index.d.ts",
      "import": "./dist/snake.mjs",
      "require": "./dist/snake.js"
    },
    "./dist/snake.js": {
      "types": "./types/index.d.ts",
      "import": "./dist/snake.mjs",
      "require": "./dist/snake.js"
    },
    "./dist/snake.mjs": {
      "types": "./types/index.d.ts",
      "import": "./dist/snake.mjs",
      "require": "./dist/snake.js"
    }
  }
}