{
  "_id": "@react-pdf/fns",
  "maintainers": [
    {
      "name": "diegomura",
      "email": "diegomuracciole@gmail.com"
    }
  ],
  "dist-tags": {
    "latest": "3.1.3"
  },
  "author": {
    "name": "Diego Muracciole",
    "email": "diegomuracciole@gmail.com"
  },
  "_rev": "11-3d1b6635e7f779b6ebdc377d58a03733",
  "description": "React-pdf helper functions",
  "readme": "<p align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/5600341/27505816-c8bc37aa-587f-11e7-9a86-08a2d081a8b9.png\" height=\"280px\">\n</p>\n\n# @react-pdf/fns\n\n> Lightweight utility functions for react-pdf\n\nA collection of functional programming utilities used internally by react-pdf. Zero dependencies, tree-shakeable, and fully typed.\n\n## Installation\n\n```bash\nyarn add @react-pdf/fns\n```\n\n## Table of Contents\n\n- [adjust](#adjust)\n- [asyncCompose](#asynccompose)\n- [capitalize](#capitalize)\n- [castArray](#castarray)\n- [compose](#compose)\n- [dropLast](#droplast)\n- [evolve](#evolve)\n- [get](#get)\n- [isNil](#isnil)\n- [last](#last)\n- [mapValues](#mapvalues)\n- [matchPercent](#matchpercent)\n- [omit](#omit)\n- [parseFloat](#parsefloat)\n- [pick](#pick)\n- [repeat](#repeat)\n- [reverse](#reverse)\n- [upperFirst](#upperfirst)\n- [without](#without)\n\n## Functions\n\n### adjust\n\nApplies a function to the value at the given index of an array.\n\n```js\nimport { adjust } from '@react-pdf/fns';\n\nadjust(1, (x) => x * 2, [1, 2, 3]); // => [1, 4, 3]\nadjust(-1, (x) => x + 10, [1, 2, 3]); // => [1, 2, 13]\n```\n\n---\n\n### asyncCompose\n\nPerforms right-to-left function composition with async functions support. `asyncCompose(f, g, h)(x)` is equivalent to `await f(await g(await h(x)))`.\n\n```js\nimport { asyncCompose } from '@react-pdf/fns';\n\nconst addAsync = async (x) => x + 1;\nconst double = (x) => x * 2;\n\nconst fn = asyncCompose(double, addAsync);\nawait fn(5); // => 12\n```\n\n---\n\n### capitalize\n\nCapitalizes the first letter of each word in a string.\n\n```js\nimport { capitalize } from '@react-pdf/fns';\n\ncapitalize('hello world'); // => 'Hello World'\ncapitalize('foo bar baz'); // => 'Foo Bar Baz'\n```\n\n---\n\n### castArray\n\nWraps a value in an array if it isn't one already.\n\n```js\nimport { castArray } from '@react-pdf/fns';\n\ncastArray('foo'); // => ['foo']\ncastArray(['foo']); // => ['foo']\ncastArray(123); // => [123]\n```\n\n---\n\n### compose\n\nPerforms right-to-left function composition. `compose(f, g, h)(x)` is equivalent to `f(g(h(x)))`.\n\n```js\nimport { compose } from '@react-pdf/fns';\n\nconst add1 = (x) => x + 1;\nconst double = (x) => x * 2;\n\nconst fn = compose(double, add1);\nfn(5); // => 12\n```\n\n---\n\n### dropLast\n\nDrops the last element from an array or string.\n\n```js\nimport { dropLast } from '@react-pdf/fns';\n\ndropLast([1, 2, 3]); // => [1, 2]\ndropLast('hello'); // => 'hell'\n```\n\n---\n\n### evolve\n\nApplies transformations to an object's values based on a transformation map.\n\n```js\nimport { evolve } from '@react-pdf/fns';\n\nevolve(\n  { count: (n) => n + 1, name: (s) => s.toUpperCase() },\n  { name: 'item', count: 5 },\n);\n// => { name: 'ITEM', count: 6 }\n```\n\n---\n\n### get\n\nRetrieves a value at a given path from an object with a default fallback.\n\n```js\nimport { get } from '@react-pdf/fns';\n\nget({ a: { b: 1 } }, ['a', 'b'], 0); // => 1\nget({ a: { b: 1 } }, ['a', 'c'], 0); // => 0\nget({ a: { b: 1 } }, 'a', {}); // => { b: 1 }\n```\n\n---\n\n### isNil\n\nChecks if a value is `null` or `undefined`.\n\n```js\nimport { isNil } from '@react-pdf/fns';\n\nisNil(null); // => true\nisNil(undefined); // => true\nisNil(0); // => false\nisNil(''); // => false\n```\n\n---\n\n### last\n\nReturns the last element of an array or last character of a string.\n\n```js\nimport { last } from '@react-pdf/fns';\n\nlast([1, 2, 3]); // => 3\nlast('abc'); // => 'c'\nlast([]); // => undefined\n```\n\n---\n\n### mapValues\n\nMaps over the values of an object, applying a function to each value.\n\n```js\nimport { mapValues } from '@react-pdf/fns';\n\nmapValues({ a: 1, b: 2 }, (v) => v * 2); // => { a: 2, b: 4 }\nmapValues({ x: 'foo', y: 'bar' }, (v, k) => `${k}:${v}`);\n// => { x: 'x:foo', y: 'y:bar' }\n```\n\n---\n\n### matchPercent\n\nParses a percentage string and returns both the numeric value and decimal percent.\n\n```js\nimport { matchPercent } from '@react-pdf/fns';\n\nmatchPercent('50%'); // => { value: 50, percent: 0.5 }\nmatchPercent('-25%'); // => { value: -25, percent: -0.25 }\nmatchPercent('abc'); // => null\n```\n\n---\n\n### omit\n\nCreates a new object excluding specified keys.\n\n```js\nimport { omit } from '@react-pdf/fns';\n\nomit('b', { a: 1, b: 2, c: 3 }); // => { a: 1, c: 3 }\nomit(['a', 'c'], { a: 1, b: 2, c: 3 }); // => { b: 2 }\n```\n\n---\n\n### parseFloat\n\nParses a string to a float. Non-string values pass through unchanged.\n\n```js\nimport { parseFloat } from '@react-pdf/fns';\n\nparseFloat('3.14'); // => 3.14\nparseFloat('10px'); // => 10\nparseFloat(42); // => 42\nparseFloat(null); // => null\n```\n\n---\n\n### pick\n\nCreates a new object with only the specified keys.\n\n```js\nimport { pick } from '@react-pdf/fns';\n\npick(['a', 'c'], { a: 1, b: 2, c: 3 }); // => { a: 1, c: 3 }\npick(['x'], { a: 1, b: 2 }); // => {}\n```\n\n---\n\n### repeat\n\nCreates an array with an element repeated a specified number of times.\n\n```js\nimport { repeat } from '@react-pdf/fns';\n\nrepeat('a', 3); // => ['a', 'a', 'a']\nrepeat(0, 4); // => [0, 0, 0, 0]\n```\n\n---\n\n### reverse\n\nReturns a new array with elements in reverse order (does not mutate original).\n\n```js\nimport { reverse } from '@react-pdf/fns';\n\nreverse([1, 2, 3]); // => [3, 2, 1]\nreverse(['a', 'b', 'c']); // => ['c', 'b', 'a']\n```\n\n---\n\n### upperFirst\n\nConverts the first character of a string to uppercase.\n\n```js\nimport { upperFirst } from '@react-pdf/fns';\n\nupperFirst('hello'); // => 'Hello'\nupperFirst('hELLO'); // => 'HELLO'\n```\n\n---\n\n### without\n\nReturns a new array excluding the specified values.\n\n```js\nimport { without } from '@react-pdf/fns';\n\nwithout([2, 4], [1, 2, 3, 4, 5]); // => [1, 3, 5]\nwithout(['b'], ['a', 'b', 'c']); // => ['a', 'c']\n```\n\n## License\n\nMIT\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/diegomura/react-pdf.git",
    "directory": "packages/fns"
  },
  "bugs": {
    "url": "https://github.com/diegomura/react-pdf/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "name": "@react-pdf/fns",
      "version": "1.0.0",
      "author": {
        "name": "Diego Muracciole",
        "email": "diegomuracciole@gmail.com"
      },
      "license": "MIT",
      "_id": "@react-pdf/fns@1.0.0",
      "maintainers": [
        {
          "name": "diegomura",
          "email": "diegomuracciole@gmail.com"
        }
      ],
      "homepage": "https://github.com/diegomura/react-pdf#readme",
      "bugs": {
        "url": "https://github.com/diegomura/react-pdf/issues"
      },
      "dist": {
        "shasum": "d00925689f1f2b01cc581e0a3cda97b9175e6007",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@react-pdf/fns/-/fns-1.0.0.tgz",
        "fileCount": 20,
        "integrity": "sha512-jmksnPPeBj7Hl00aOc61wiwNQ0Ngms/tk6wVZq+r8xE5abvJAL9CEiehmlttNR+cUzAIf3eJT5DNvdWIZ2sEgg==",
        "signatures": [
          {
            "sig": "MEYCIQDLzHZbpZHzUDXLRWg+ofNVffxVa9ALXbh4A8g1sNlA1gIhANz9LMwWdK8wjX1ZV2UgpbMjNgKDNcCcZi5+SOWW4xwB",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 12327,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilZf3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpkcA/5AZJ6hC7RWaC8Ia59NQEiVPRQI3GE0uskvDKHAMPtnY/wF+X8\r\ni77xwyB+5BcaXCsGhd9Zk75sd0ugQVpjSVeDeePLp520kVsdQycu322+TgAJ\r\nof28c6fjHH82lEs8k0DrKyP6GYpXXkYhiBalCAbWW/wxoVFKVKCY2zct5ecw\r\nE8ihesI/TXhHtgYZ8hLK3Y65u/6xjulT00fX9X52vcvLXgtZFapTPe5YIi7M\r\nK0R8zFCWgkEgwKS4+cJ1fdUvXg0IL91jAsvjssH6jSLCpfgKJMgHmcXnXcWc\r\nZCtDZYeEskA1EzWTV1z6+/P+AWNfmykpidTgfxSWfrnHD9NGaUYvwxZK9Bhz\r\nCh0jA0eHZ+kk+QVwgDSCUUShfTKYPU1FZbKz8aHIgLWY4/YE7jQ3YLXK/pvw\r\n9R+ksApOxjJEyJz7UNsrcjEaB1I9cZeNs6eVcAC2flMKBjNJ7NhDNn7cjZtG\r\nOTwW+yDRQB3SsqkT7eJUzUvDOpRQydCq/O/+bxRiJoua1c2AHv3y/S0STmfC\r\nMLKq4O/TFKrax3c+y4OeLdlIXrxkxpa3DoUu9K3qDaUybAdbJouaa14gN9xL\r\nmky4QEt3h0NPo+7pp2w+RRaEjQh48wDEOWTsDSSlmEqBraoDxeV1Ierz2+m9\r\nI4UsToEBMi0h3UwAFe8DduEp2aFY8UWElbI=\r\n=WBIo\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "lib/index.js",
      "scripts": {
        "test": "jest",
        "build": "rimraf ./lib && babel src --out-dir lib",
        "watch": "rimraf ./lib && babel src --out-dir lib --watch"
      },
      "_npmUser": {
        "name": "diegomura",
        "email": "diegomuracciole@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/diegomura/react-pdf.git",
        "type": "git",
        "directory": "packages/fns"
      },
      "_npmVersion": "6.14.17",
      "description": "React-pdf helper functions",
      "directories": {},
      "_nodeVersion": "14.19.2",
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/fns_1.0.0_1653970935227_0.14141518934151764",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.0.0": {
      "name": "@react-pdf/fns",
      "version": "2.0.0",
      "author": {
        "name": "Diego Muracciole",
        "email": "diegomuracciole@gmail.com"
      },
      "license": "MIT",
      "_id": "@react-pdf/fns@2.0.0",
      "maintainers": [
        {
          "name": "diegomura",
          "email": "diegomuracciole@gmail.com"
        }
      ],
      "homepage": "https://github.com/diegomura/react-pdf#readme",
      "bugs": {
        "url": "https://github.com/diegomura/react-pdf/issues"
      },
      "dist": {
        "shasum": "fb7fc9373fdb74428b6af6949b3c67fb4b4e23e4",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@react-pdf/fns/-/fns-2.0.0.tgz",
        "fileCount": 5,
        "integrity": "sha512-PMFQVjlxA4wwrKd5eiQiAcVi1fllv8qTPcLLvY0kzJeHQBKLP0ZzDRLbLptPY3LR5yjpLhdf2MfJbb4Bd9mmjA==",
        "signatures": [
          {
            "sig": "MEUCIEhjg8yuOVXi2rQxtMrh3MGCReinVUab2Y6Y0zf/XIsjAiEArb/nigA6dxDhc7z4RzI8psushjvb+uny4vFNfppTHq8=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 15168,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDW+1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpu8BAAnYOgXEU8sIdikRQLSVbkrtV4Cg2bv/tGdnVwQwSL12Ns+tXp\r\nzJSGEFHvGexeL4vxCsL/tSq6cbvzSoB3aRRvMZ4QuSEiPQrG84MDZblAgrhb\r\nUJO65gvVJMEF/DELDtM2pmUY3SS/sxwWmES32eNDmsQ+LmDHMY7sNkpJQKIw\r\nkvsYErf+1J0NEfLlTY1XbHix7m6FgUppJRgC92/XeKlUMl94Aul/IBHJpm1J\r\n060Ov/Su1jCAcwfil8pq59hahbHdfjf3Qj4Cu4wZp2Pvxhp5rVy5Q7B7ra69\r\nL1AploaOxErYWv1Yh355HuRKz1ngspvYFNP/qhwW5xyzqGPjPmV9luZBMxXU\r\n0RkWKrh+yvlYnO2+tanmOGYFBuVExGMihOnrdE7lzOn9eQVzPcxGmRcDcYuI\r\nLFRnvPx138H38lwZSpzE3YxpKGejfzLiSd6Sk1ZAj7+r15SVDOuapH6Ta+Vh\r\nGU7XZSVbKAhOw3ql3m5boglGFZomY0XwTFSWfPoWD6ZPJkoqY/MSf2bELNSp\r\nXRduscKGaNS68saKqqkxQhO2odq+OG+XDjmnxqv4gnhuKbtvQ7z30MZBie4N\r\nqZ5epEicRnrTRj/AGWe27K+2T8pETplhXLA+rRXs3rTsWnuAZ+35DeFaDp9z\r\naE4kFTBcBg/wIpxP4t3Lap+bEGGG+Ja+xms=\r\n=CLiR\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "lib/index.cjs.js",
      "module": "lib/index.es.js",
      "scripts": {
        "test": "jest",
        "build": "rimraf ./lib && rollup -c",
        "watch": "rimraf ./lib && rollup -c -w"
      },
      "_npmUser": {
        "name": "diegomura",
        "email": "diegomuracciole@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/diegomura/react-pdf.git",
        "type": "git",
        "directory": "packages/fns"
      },
      "_npmVersion": "6.14.17",
      "description": "React-pdf helper functions",
      "directories": {},
      "_nodeVersion": "14.20.0",
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/fns_2.0.0_1661824949298_0.7063420659890662",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.0.1": {
      "name": "@react-pdf/fns",
      "version": "2.0.1",
      "author": {
        "name": "Diego Muracciole",
        "email": "diegomuracciole@gmail.com"
      },
      "license": "MIT",
      "_id": "@react-pdf/fns@2.0.1",
      "maintainers": [
        {
          "name": "diegomura",
          "email": "diegomuracciole@gmail.com"
        }
      ],
      "homepage": "https://github.com/diegomura/react-pdf#readme",
      "bugs": {
        "url": "https://github.com/diegomura/react-pdf/issues"
      },
      "dist": {
        "shasum": "8948464044fc8a69975d9d07b1a12673377b72e2",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@react-pdf/fns/-/fns-2.0.1.tgz",
        "fileCount": 5,
        "integrity": "sha512-/vgecczzFYBQFkgUupH+sxXhLWQtBwdwCgweyh25XOlR4NZuaMD/UVUDl4loFHhRQqDMQq37lkTcchh7zzW6ug==",
        "signatures": [
          {
            "sig": "MEQCIAtpxyTioH6XZHl2+ZF/PDHkO97bqJug49937lWmZFs/AiBuFOMvVWJhJgnbE34rCvvD3sOy6U2OXj7jpCVGcpSIBg==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 15288,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBwkRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmplvg/+OAhiFGFTU4djS/UTNlHRr6PEEumjN7+ytxkIg+1syVEsUnz9\r\nRThCACgUlaYRmUejqf+LD+KAy941jDZ32k1QWTKefsX+7J6pZTpLo7a6DHIm\r\nvrJnMgnAJ7Q3Xhb7a2l/L6NQIh8Dsh2RtaLJ0Yt6OrIkWsdwl+4P55kDd3J3\r\ne58q7kLF8KbvFcWqAYxQNsnZ1prUo6RQEVnh95vvTNJiv8SM14+CTqR904Q/\r\n8PJB+4ASWkAQ928u2mSEz7yE1p5nUdzPn+LIvMz4RQ84C8xQ1IGIn3xhD09R\r\noR6871sg0Atzru1q+xJKLyzEMjjlt8TAN0In3uz1gfdV+F8If365ztNYcwt/\r\nMRCiDGyhJZTc05v5RQLIIQ+IbAKC8km+33Jp+Lf7FR+GmRZE4F1Gbu8XFTme\r\nr1V+8YENF8viIzBZiwFRCRH+ED7QE2SoAR6yprWeJ1Fk7x4xXnQCBc9BIR5p\r\nzfpGMELamsRnA5aJjuCRiBI2DpCtHjTWmpmCtUTuMkYBe5dO03lAN0oOpu7+\r\nU7HUXASf048L7WrNgH6zk+Zgy/6HDpQrPInoKr/bg90YKwZ8tRe+/U0+zL9J\r\n3JOYGD/amSofy8QAt/gF7q0VU142eMLpGok1OW8P+gqLQV9Fw1oNKbmzx/RW\r\ncLQqjCgEQIouICR10g9SNfE9Yz/yq9CTsw0=\r\n=yjQ3\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "lib/index.cjs.js",
      "module": "lib/index.es.js",
      "scripts": {
        "test": "jest",
        "build": "rimraf ./lib && rollup -c",
        "watch": "rimraf ./lib && rollup -c -w"
      },
      "_npmUser": {
        "name": "diegomura",
        "email": "diegomuracciole@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/diegomura/react-pdf.git",
        "type": "git",
        "directory": "packages/fns"
      },
      "_npmVersion": "6.14.18",
      "description": "React-pdf helper functions",
      "directories": {},
      "_nodeVersion": "14.21.3",
      "dependencies": {
        "@babel/runtime": "^7.20.13"
      },
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/fns_2.0.1_1678182673679_0.494680940167358",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.1.0": {
      "name": "@react-pdf/fns",
      "version": "2.1.0",
      "author": {
        "name": "Diego Muracciole",
        "email": "diegomuracciole@gmail.com"
      },
      "license": "MIT",
      "_id": "@react-pdf/fns@2.1.0",
      "maintainers": [
        {
          "name": "diegomura",
          "email": "diegomuracciole@gmail.com"
        }
      ],
      "homepage": "https://github.com/diegomura/react-pdf#readme",
      "bugs": {
        "url": "https://github.com/diegomura/react-pdf/issues"
      },
      "dist": {
        "shasum": "e0e7d48e00dc81995275a12ccd7371ce05c395a2",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@react-pdf/fns/-/fns-2.1.0.tgz",
        "fileCount": 4,
        "integrity": "sha512-EZAvv96Ec0zxwvpL5jyVHY22FlzTQcrQn7WFzknx1BsaeF5P74m1SV2UnIfyFxrottw0H4f3n5XJjMgrR5yTYg==",
        "signatures": [
          {
            "sig": "MEUCIQDSSOz60QPNvjPakTKt09LYOTvRvQ7bfUwecFkZZPihSwIgWtgWdHosFt9t5Kt5uCPNospu8Nv4HNZ74AZm9KFvPZ4=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 14624
      },
      "main": "./lib/index.cjs",
      "type": "module",
      "module": "./lib/index.js",
      "exports": {
        ".": {
          "import": "./lib/index.js",
          "default": "./lib/index.js",
          "require": "./lib/index.cjs"
        }
      },
      "gitHead": "d8c7b5c5d2953acbb5ae4c5d44a5ddb5adb9d74d",
      "scripts": {
        "test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest",
        "build": "rimraf ./lib && rollup -c",
        "watch": "rimraf ./lib && rollup -c -w"
      },
      "_npmUser": {
        "name": "diegomura",
        "email": "diegomuracciole@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/diegomura/react-pdf.git",
        "type": "git",
        "directory": "packages/fns"
      },
      "_npmVersion": "10.2.3",
      "description": "React-pdf helper functions",
      "directories": {},
      "_nodeVersion": "18.19.0",
      "dependencies": {
        "@babel/runtime": "^7.20.13"
      },
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/fns_2.1.0_1705571985931_0.22974000492132451",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.2.0": {
      "name": "@react-pdf/fns",
      "version": "2.2.0",
      "author": {
        "name": "Diego Muracciole",
        "email": "diegomuracciole@gmail.com"
      },
      "license": "MIT",
      "_id": "@react-pdf/fns@2.2.0",
      "maintainers": [
        {
          "name": "diegomura",
          "email": "diegomuracciole@gmail.com"
        }
      ],
      "homepage": "https://github.com/diegomura/react-pdf#readme",
      "bugs": {
        "url": "https://github.com/diegomura/react-pdf/issues"
      },
      "dist": {
        "shasum": "7f76d3d0a48401b8890cd774bd4b478b60a25f40",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@react-pdf/fns/-/fns-2.2.0.tgz",
        "fileCount": 4,
        "integrity": "sha512-88LHSbt15kHIEM657BSPRpRsavTFSguHwZ3SmGBsb38wUCYaku8lt9shJiw0Y4RJzQtx8d5GTMPqd0s0Nbs4Tw==",
        "signatures": [
          {
            "sig": "MEUCIGVtgK+7L1noiR1s9fY1BfDRuVusR9PcN9iGT1iBWkhxAiEAhiG/Aps1Mcgsp9a2A7r7HL7VZ83uKqHd05d1Hp3pvWY=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 15592
      },
      "main": "./lib/index.cjs",
      "type": "module",
      "module": "./lib/index.js",
      "exports": {
        ".": {
          "import": "./lib/index.js",
          "default": "./lib/index.js",
          "require": "./lib/index.cjs"
        }
      },
      "gitHead": "900de2251596d7d8ead2b7891139fc8222cb3de9",
      "scripts": {
        "test": "vitest",
        "build": "rimraf ./lib && rollup -c",
        "watch": "rimraf ./lib && rollup -c -w"
      },
      "_npmUser": {
        "name": "diegomura",
        "email": "diegomuracciole@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/diegomura/react-pdf.git",
        "type": "git",
        "directory": "packages/fns"
      },
      "_npmVersion": "10.2.4",
      "description": "React-pdf helper functions",
      "directories": {},
      "_nodeVersion": "20.11.0",
      "dependencies": {
        "@babel/runtime": "^7.20.13"
      },
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/fns_2.2.0_1707178301024_0.9117553444239794",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.2.1": {
      "name": "@react-pdf/fns",
      "version": "2.2.1",
      "author": {
        "name": "Diego Muracciole",
        "email": "diegomuracciole@gmail.com"
      },
      "license": "MIT",
      "_id": "@react-pdf/fns@2.2.1",
      "maintainers": [
        {
          "name": "diegomura",
          "email": "diegomuracciole@gmail.com"
        }
      ],
      "homepage": "https://github.com/diegomura/react-pdf#readme",
      "bugs": {
        "url": "https://github.com/diegomura/react-pdf/issues"
      },
      "dist": {
        "shasum": "04fe664a6f70214569c9c27e249e3395836f37d5",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@react-pdf/fns/-/fns-2.2.1.tgz",
        "fileCount": 4,
        "integrity": "sha512-s78aDg0vDYaijU5lLOCsUD+qinQbfOvcNeaoX9AiE7+kZzzCo6B/nX+l48cmt9OosJmvZvE9DWR9cLhrhOi2pA==",
        "signatures": [
          {
            "sig": "MEUCIGivDgYbhQ0GWJ5CENbRY/FQs4nxA3myx4s1YCIhpRzIAiEAxSe3KKpVL8w1+gqA6lAVrvJjn6w3rPTwaRJBAlqNZ1o=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 15938
      },
      "main": "./lib/index.cjs",
      "type": "module",
      "module": "./lib/index.js",
      "exports": {
        ".": {
          "import": "./lib/index.js",
          "default": "./lib/index.js",
          "require": "./lib/index.cjs"
        }
      },
      "gitHead": "e1d388fa2c674be007047b632e86cddb07f541ee",
      "scripts": {
        "test": "vitest",
        "build": "rimraf ./lib && rollup -c",
        "watch": "rimraf ./lib && rollup -c -w"
      },
      "_npmUser": {
        "name": "diegomura",
        "email": "diegomuracciole@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/diegomura/react-pdf.git",
        "type": "git",
        "directory": "packages/fns"
      },
      "_npmVersion": "10.2.4",
      "description": "React-pdf helper functions",
      "directories": {},
      "_nodeVersion": "20.11.0",
      "dependencies": {
        "@babel/runtime": "^7.20.13"
      },
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/fns_2.2.1_1707245558516_0.12699922609359793",
        "host": "s3://npm-registry-packages"
      }
    },
    "3.0.0": {
      "name": "@react-pdf/fns",
      "version": "3.0.0",
      "author": {
        "name": "Diego Muracciole",
        "email": "diegomuracciole@gmail.com"
      },
      "license": "MIT",
      "_id": "@react-pdf/fns@3.0.0",
      "maintainers": [
        {
          "name": "diegomura",
          "email": "diegomuracciole@gmail.com"
        }
      ],
      "homepage": "https://github.com/diegomura/react-pdf#readme",
      "bugs": {
        "url": "https://github.com/diegomura/react-pdf/issues"
      },
      "dist": {
        "shasum": "2e0137d48b14c531b2f6a9214cb36ea2a7aea3ba",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@react-pdf/fns/-/fns-3.0.0.tgz",
        "fileCount": 3,
        "integrity": "sha512-ICbIWR93PE6+xf2Xd/fXYO1dAuiOAJaszEuGGv3wp5lLSeeelDXlEYLh6R05okxh28YqMzc0Qd85x6n6MtaLUQ==",
        "signatures": [
          {
            "sig": "MEYCIQDxpQZeomyK+ROgv65ZLvx5zLCO2JY9lwGA4joO0E+DZAIhAM6vg93FMLfIj4tP2e1WbQgoowaXzoYCyvFqjMpsy8UP",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 9003
      },
      "main": "./lib/index.js",
      "type": "module",
      "gitHead": "3729489e1df485897f53c1537529b71b912a51e5",
      "scripts": {
        "test": "vitest",
        "build": "rimraf ./lib && rollup -c",
        "watch": "rimraf ./lib && rollup -c -w"
      },
      "_npmUser": {
        "name": "diegomura",
        "email": "diegomuracciole@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/diegomura/react-pdf.git",
        "type": "git",
        "directory": "packages/fns"
      },
      "_npmVersion": "10.8.2",
      "description": "React-pdf helper functions",
      "directories": {},
      "_nodeVersion": "20.17.0",
      "dependencies": {
        "@babel/runtime": "^7.20.13"
      },
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/fns_3.0.0_1727116015961_0.9253285259577055",
        "host": "s3://npm-registry-packages"
      }
    },
    "3.1.0": {
      "name": "@react-pdf/fns",
      "version": "3.1.0",
      "author": {
        "name": "Diego Muracciole",
        "email": "diegomuracciole@gmail.com"
      },
      "license": "MIT",
      "_id": "@react-pdf/fns@3.1.0",
      "maintainers": [
        {
          "name": "diegomura",
          "email": "diegomuracciole@gmail.com"
        }
      ],
      "homepage": "https://github.com/diegomura/react-pdf#readme",
      "bugs": {
        "url": "https://github.com/diegomura/react-pdf/issues"
      },
      "dist": {
        "shasum": "cc1130b35e21b173d1d0fa1729db3285d209a9ea",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@react-pdf/fns/-/fns-3.1.0.tgz",
        "fileCount": 3,
        "integrity": "sha512-BjT7C/IeYlrF4Pevlrlo+fILhSxsWSm6Ka/rQrQzYsyQuOsqI6bmBzsTW+T6ghqrD5HLRKr1n8vjAaE9g4rFhA==",
        "signatures": [
          {
            "sig": "MEYCIQDY8nNNZoCaRnOEuCwwBnPzK5wM/3i3NXT1Tw+V4b9yjAIhAL5WsTWIOnpnFNDPPluMdonOekYR/IT7/BBlq7ijWacE",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 9506
      },
      "main": "./lib/index.js",
      "type": "module",
      "gitHead": "95646314db32802bf453812a3ce4670691d51013",
      "scripts": {
        "test": "vitest",
        "build": "rimraf ./lib && rollup -c",
        "watch": "rimraf ./lib && rollup -c -w"
      },
      "_npmUser": {
        "name": "diegomura",
        "email": "diegomuracciole@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/diegomura/react-pdf.git",
        "type": "git",
        "directory": "packages/fns"
      },
      "_npmVersion": "10.8.2",
      "description": "React-pdf helper functions",
      "directories": {},
      "_nodeVersion": "20.18.2",
      "dependencies": {
        "@babel/runtime": "^7.20.13"
      },
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/fns_3.1.0_1738803670341_0.39111227817140426",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "3.1.1": {
      "name": "@react-pdf/fns",
      "version": "3.1.1",
      "author": {
        "name": "Diego Muracciole",
        "email": "diegomuracciole@gmail.com"
      },
      "license": "MIT",
      "_id": "@react-pdf/fns@3.1.1",
      "maintainers": [
        {
          "name": "diegomura",
          "email": "diegomuracciole@gmail.com"
        }
      ],
      "homepage": "https://github.com/diegomura/react-pdf#readme",
      "bugs": {
        "url": "https://github.com/diegomura/react-pdf/issues"
      },
      "dist": {
        "shasum": "ac878e9566cd8a4f105f70f8159b9dac2468bacf",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@react-pdf/fns/-/fns-3.1.1.tgz",
        "fileCount": 4,
        "integrity": "sha512-fYvgOWWRxTdkCciLSla2iek8W/oDLhExPTLPw3aArGPJHgVUc86V2c3YLULNHIBuy/64QVpPLB7gwNkTEW5m/A==",
        "signatures": [
          {
            "sig": "MEUCIG4U97QhTZaJbQHkdAVd1782a9ArKYms2iJHNzwzPs2SAiEAtQhXRvTKLtWrw4psEO0VcAs/ZFZ0lDpTjdIXau+AgbI=",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 13586
      },
      "main": "./lib/index.js",
      "type": "module",
      "types": "./lib/index.d.ts",
      "gitHead": "038cee89b76c7b9719a8e6adcd32cc557dc4d86e",
      "scripts": {
        "test": "vitest",
        "build": "rollup -c",
        "watch": "rollup -c -w"
      },
      "_npmUser": {
        "name": "diegomura",
        "email": "diegomuracciole@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/diegomura/react-pdf.git",
        "type": "git",
        "directory": "packages/fns"
      },
      "_npmVersion": "10.8.2",
      "description": "React-pdf helper functions",
      "directories": {},
      "_nodeVersion": "20.18.2",
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/fns_3.1.1_1739823430677_0.36623421662752476",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "3.1.2": {
      "name": "@react-pdf/fns",
      "version": "3.1.2",
      "author": {
        "name": "Diego Muracciole",
        "email": "diegomuracciole@gmail.com"
      },
      "license": "MIT",
      "_id": "@react-pdf/fns@3.1.2",
      "maintainers": [
        {
          "name": "diegomura",
          "email": "diegomuracciole@gmail.com"
        }
      ],
      "homepage": "https://github.com/diegomura/react-pdf#readme",
      "bugs": {
        "url": "https://github.com/diegomura/react-pdf/issues"
      },
      "dist": {
        "shasum": "9ce7351d9fdf1cdb6e9c6ffd6801bc65f29f991c",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@react-pdf/fns/-/fns-3.1.2.tgz",
        "fileCount": 4,
        "integrity": "sha512-qTKGUf0iAMGg2+OsUcp9ffKnKi41RukM/zYIWMDJ4hRVYSr89Q7e3wSDW/Koqx3ea3Uy/z3h2y3wPX6Bdfxk6g==",
        "signatures": [
          {
            "sig": "MEYCIQCZtwUY7R6VvQxiXYw7EhrJZiXh1HERW2EDsOVkV7vzwQIhAKONe9vGyT0Dz0RKo8OyNmnHHfsmHxZ1DUWgukTweJDL",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 14497
      },
      "main": "./lib/index.js",
      "type": "module",
      "types": "./lib/index.d.ts",
      "gitHead": "c807b955821297184d705addb0bf12bd0109ec28",
      "scripts": {
        "test": "vitest",
        "build": "rollup -c",
        "watch": "rollup -c -w",
        "typecheck": "tsc --noEmit"
      },
      "_npmUser": {
        "name": "diegomura",
        "email": "diegomuracciole@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/diegomura/react-pdf.git",
        "type": "git",
        "directory": "packages/fns"
      },
      "_npmVersion": "10.8.2",
      "description": "React-pdf helper functions",
      "directories": {},
      "_nodeVersion": "20.18.3",
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/fns_3.1.2_1740964906114_0.8118470911708568",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "3.1.3": {
      "name": "@react-pdf/fns",
      "version": "3.1.3",
      "license": "MIT",
      "description": "React-pdf helper functions",
      "author": {
        "name": "Diego Muracciole",
        "email": "diegomuracciole@gmail.com"
      },
      "homepage": "https://github.com/diegomura/react-pdf#readme",
      "type": "module",
      "main": "./lib/index.js",
      "types": "./lib/index.d.ts",
      "repository": {
        "type": "git",
        "url": "git+https://github.com/diegomura/react-pdf.git",
        "directory": "packages/fns"
      },
      "scripts": {
        "test": "vitest",
        "build": "rollup -c",
        "watch": "rollup -c -w",
        "typecheck": "tsc --noEmit"
      },
      "gitHead": "a8301b239f750ee2a74e851522daadc3718b30e3",
      "_id": "@react-pdf/fns@3.1.3",
      "bugs": {
        "url": "https://github.com/diegomura/react-pdf/issues"
      },
      "_nodeVersion": "22.22.2",
      "_npmVersion": "11.12.1",
      "dist": {
        "integrity": "sha512-0I7pApDr1/RLAKbizuLy/IHTEa93LSPy/bEwYniboC3Xqnp6Od8xFJKbKEzGw2wh/5zKFFwl00g4t9RwgIMc3w==",
        "shasum": "e0437d60ac10746bfbdf080e6809ba6f20d01556",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@react-pdf/fns/-/fns-3.1.3.tgz",
        "fileCount": 4,
        "unpackedSize": 24320,
        "attestations": {
          "url": "https://registry.npmjs.org/-/npm/v1/attestations/@react-pdf%2ffns@3.1.3",
          "provenance": {
            "predicateType": "https://slsa.dev/provenance/v1"
          }
        },
        "signatures": [
          {
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
            "sig": "MEQCIDcmkbUNIX2VBxRYrUcK9MGOF+qqmDjTq82+47PRt6QfAiBUwR2wAKrMh7Uhz/Uus8Jt/mOSCSZnr0DihUUE7Fimfg=="
          }
        ]
      },
      "_npmUser": {
        "name": "GitHub Actions",
        "email": "npm-oidc-no-reply@github.com",
        "trustedPublisher": {
          "id": "github",
          "oidcConfigId": "oidc:d245852e-6fd3-45e4-ba85-b6f5f8536cea"
        }
      },
      "directories": {},
      "maintainers": [
        {
          "name": "diegomura",
          "email": "diegomuracciole@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages-npm-production",
        "tmp": "tmp/fns_3.1.3_1775334297183_0.4566352878072846"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "@react-pdf/fns",
  "time": {
    "created": "2022-05-31T04:22:15.147Z",
    "modified": "2026-06-05T22:05:01.237Z",
    "1.0.0": "2022-05-31T04:22:15.364Z",
    "2.0.0": "2022-08-30T02:02:29.480Z",
    "2.0.1": "2023-03-07T09:51:13.849Z",
    "2.1.0": "2024-01-18T09:59:46.086Z",
    "2.2.0": "2024-02-06T00:11:41.182Z",
    "2.2.1": "2024-02-06T18:52:38.701Z",
    "3.0.0": "2024-09-23T18:26:56.349Z",
    "3.1.0": "2025-02-06T01:01:10.543Z",
    "3.1.1": "2025-02-17T20:17:10.883Z",
    "3.1.2": "2025-03-03T01:21:46.282Z",
    "3.1.3": "2026-04-04T20:24:57.325Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/diegomura/react-pdf#readme"
}