{"_id":"@bouygues-telecom/spl-envelop-plugin","_rev":"11-33b1180ab9dbe5b8154ec5ba15cdb013","name":"@bouygues-telecom/spl-envelop-plugin","dist-tags":{"latest":"0.2.6"},"versions":{"0.2.0":{"name":"@bouygues-telecom/spl-envelop-plugin","version":"0.2.0","author":{"name":"Bouygues Telecom"},"license":"Apache-2.0","_id":"@bouygues-telecom/spl-envelop-plugin@0.2.0","maintainers":[{"name":"bytel","email":"bouygues@codename.co"}],"homepage":"https://github.com/BouyguesTelecom/spl-envelop-plugin#readme","bugs":{"url":"https://github.com/BouyguesTelecom/spl-envelop-plugin/issues"},"dist":{"shasum":"044d890fd4d66a200f684d434e7e89a4f8924cea","tarball":"https://registry.npmjs.org/@bouygues-telecom/spl-envelop-plugin/-/spl-envelop-plugin-0.2.0.tgz","fileCount":10,"integrity":"sha512-DnQRUlnjgJSy5mtBzr9YOfXhR/pa/89hqrnCKWgmJE0GPVY8v2SQzu1TDRXO7TGvJD6Bzn/16opPnk4RtJXwnA==","signatures":[{"sig":"MEYCIQDkY7/ZaHbmvgbHbMJPtCZUdI+wgJdReSV9LacClCdjGAIhAJ3vtZDzgXOY3a1p8KU1iLmG7j/LIBvoQnKVDul/f3b6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30487},"type":"module","gitHead":"d7ae925663ded9d5581ed4976024ae5fb1efab10","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"bytel","email":"bouygues@codename.co"},"repository":{"url":"git+https://github.com/BouyguesTelecom/spl-envelop-plugin.git","type":"git"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.19.2","dependencies":{"graphql":"^16.11.0","@envelop/core":"^5.2.3","@bouygues-telecom/spl":"^0.1.16"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/spl-envelop-plugin_0.2.0_1748993804584_0.031602542303978076","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@bouygues-telecom/spl-envelop-plugin","version":"0.2.1","author":{"name":"Bouygues Telecom"},"license":"Apache-2.0","_id":"@bouygues-telecom/spl-envelop-plugin@0.2.1","maintainers":[{"name":"bytel","email":"bouygues@codename.co"}],"homepage":"https://github.com/BouyguesTelecom/spl-envelop-plugin#readme","bugs":{"url":"https://github.com/BouyguesTelecom/spl-envelop-plugin/issues"},"dist":{"shasum":"bab042ca63432277bd37f535714e519a70ebcf6a","tarball":"https://registry.npmjs.org/@bouygues-telecom/spl-envelop-plugin/-/spl-envelop-plugin-0.2.1.tgz","fileCount":10,"integrity":"sha512-b/1SRF9W6hEqYqgj6Swyb90rtm4I51lrPdimdmoffWyh9DUH2Q3JgLZNifzEsk7jEb19KeofY43i456E6y6hqA==","signatures":[{"sig":"MEUCIQDMszjKkN9MNv09Z2UzandjDy9tAxYPViq++97T/vHUJAIgYLQVsAkiwSlW94pM5rnWkDVIQdiD6VZIcM+ElMNK8Tw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30617},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"9aa51887c8fcd1d686784fcdfe52d016e9fdc830","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"bytel","email":"bouygues@codename.co"},"repository":{"url":"git+https://github.com/BouyguesTelecom/spl-envelop-plugin.git","type":"git"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.19.2","dependencies":{"graphql":"^16.11.0","@envelop/core":"^5.2.3","@bouygues-telecom/spl":"^0.1.16"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/spl-envelop-plugin_0.2.1_1748994228308_0.13830243811394816","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@bouygues-telecom/spl-envelop-plugin","version":"0.2.2","author":{"name":"Bouygues Telecom"},"license":"Apache-2.0","_id":"@bouygues-telecom/spl-envelop-plugin@0.2.2","maintainers":[{"name":"bytel","email":"bouygues@codename.co"}],"homepage":"https://github.com/BouyguesTelecom/spl-envelop-plugin#readme","bugs":{"url":"https://github.com/BouyguesTelecom/spl-envelop-plugin/issues"},"dist":{"shasum":"aa2c2753112de47f3dbd5b4c4bfc6655beae961c","tarball":"https://registry.npmjs.org/@bouygues-telecom/spl-envelop-plugin/-/spl-envelop-plugin-0.2.2.tgz","fileCount":10,"integrity":"sha512-9wFJw524l1cerdyCNkAphiqhhzBTTqqWGQmtdWJSxb6j6xvbFvQNXCvw38MmmEJcp32FUjqA5o3ymEYarX+emg==","signatures":[{"sig":"MEYCIQCbOM5IUTfTDz2cbFw2UrTfPpKdXWCURw8Ei+Gk2vCH/QIhANaQAKd3UBauImGMCwsIddm38EbU/R6mijcCcWcIPAu8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30623},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js"}},"gitHead":"7a9943c0d29d28094b68c29fb72d35edede24a18","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"bytel","email":"bouygues@codename.co"},"repository":{"url":"git+https://github.com/BouyguesTelecom/spl-envelop-plugin.git","type":"git"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.19.2","dependencies":{"graphql":"^16.11.0","@envelop/core":"^5.2.3","@bouygues-telecom/spl":"^0.1.16"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/spl-envelop-plugin_0.2.2_1748994432237_0.9263112194360037","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@bouygues-telecom/spl-envelop-plugin","version":"0.2.3","author":{"name":"Bouygues Telecom"},"license":"Apache-2.0","_id":"@bouygues-telecom/spl-envelop-plugin@0.2.3","maintainers":[{"name":"bytel","email":"bouygues@codename.co"}],"homepage":"https://github.com/BouyguesTelecom/spl-envelop-plugin#readme","bugs":{"url":"https://github.com/BouyguesTelecom/spl-envelop-plugin/issues"},"dist":{"shasum":"ac76a746148adca31608113557f5d2977a766ce3","tarball":"https://registry.npmjs.org/@bouygues-telecom/spl-envelop-plugin/-/spl-envelop-plugin-0.2.3.tgz","fileCount":11,"integrity":"sha512-8OSI8jqYRCiWqRhOIrCly7BlRNP8sMt/69yUOA0/kwX7AXE3oqVr+vIgYQ4MZE6jls6A4+rLyTN1ug6Ennb+XA==","signatures":[{"sig":"MEUCICVaUr4g47TeYekCtAcZLX4Zv5z8YykeGFn83JUhF82bAiEAw+/Hee0UtFg4f8V+Dla4JL15wgx/KtuKeav9x7Ve3VI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32025},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"0829867e0b63c8d9ab4e477deda9a472bfd66b9e","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"bytel","email":"bouygues@codename.co"},"repository":{"url":"git+https://github.com/BouyguesTelecom/spl-envelop-plugin.git","type":"git"},"_npmVersion":"10.8.2","description":"![NPM Version](https://img.shields.io/npm/v/@bouygues-telecom/spl-envelop-plugin?style=flat-square)","directories":{},"_nodeVersion":"20.19.2","dependencies":{"graphql":"^16.11.0","@envelop/core":"^5.2.3","@bouygues-telecom/spl":"^0.1.16"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/spl-envelop-plugin_0.2.3_1748995912002_0.5053620535402163","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@bouygues-telecom/spl-envelop-plugin","version":"0.2.4","author":{"name":"Bouygues Telecom"},"license":"Apache-2.0","_id":"@bouygues-telecom/spl-envelop-plugin@0.2.4","maintainers":[{"name":"bytel","email":"bouygues@codename.co"}],"homepage":"https://github.com/BouyguesTelecom/spl-envelop-plugin#readme","bugs":{"url":"https://github.com/BouyguesTelecom/spl-envelop-plugin/issues"},"dist":{"shasum":"a5f9c4cd1f5eaefac765c7b56b1dace0a7588226","tarball":"https://registry.npmjs.org/@bouygues-telecom/spl-envelop-plugin/-/spl-envelop-plugin-0.2.4.tgz","fileCount":11,"integrity":"sha512-UfWQwBbcr+iLRzga25iIL/WwUBrs8NkrNnHkJwBCozh600Mq76OA+5n41zGXfpXXEC/iYQUQMKd0/vzIy/2Blw==","signatures":[{"sig":"MEUCIQDowfFKh7keskwn5fs5Y892oddmcZWNieNvN9Fr8tBAmwIgGRlY4AG8LL9dtb51Ml9JnEpvyEV03qEqdw5Fc9mXVM4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32025},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"0829867e0b63c8d9ab4e477deda9a472bfd66b9e","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"bytel","email":"bouygues@codename.co"},"repository":{"url":"git+https://github.com/BouyguesTelecom/spl-envelop-plugin.git","type":"git"},"_npmVersion":"10.8.2","description":"![NPM Version](https://img.shields.io/npm/v/@bouygues-telecom/spl-envelop-plugin?style=flat-square)","directories":{},"_nodeVersion":"20.19.2","dependencies":{"graphql":"^16.11.0","@envelop/core":"^5.2.3","@bouygues-telecom/spl":"^0.1.16"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/spl-envelop-plugin_0.2.4_1748996029142_0.224612172789439","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@bouygues-telecom/spl-envelop-plugin","version":"0.2.5","author":{"name":"Bouygues Telecom"},"license":"Apache-2.0","_id":"@bouygues-telecom/spl-envelop-plugin@0.2.5","maintainers":[{"name":"bytel","email":"bouygues@codename.co"}],"homepage":"https://github.com/BouyguesTelecom/spl-envelop-plugin#readme","bugs":{"url":"https://github.com/BouyguesTelecom/spl-envelop-plugin/issues"},"dist":{"shasum":"db88e26d7ff1286ba21820bddab09a026e77d65c","tarball":"https://registry.npmjs.org/@bouygues-telecom/spl-envelop-plugin/-/spl-envelop-plugin-0.2.5.tgz","fileCount":11,"integrity":"sha512-w2ZmsqwKvD3pNfzWl2kKz8j/TeJoaxdIeVV3hx/Pmwm4umMf+CdBkpapa6oW/oyJcfvQ7GSRuNf4H5Kj7W+VJA==","signatures":[{"sig":"MEUCIQCojlo+32PbyV1+TbvagAoTJMDwd4anMuOOVvW5tKUi1QIgMVK+FyI+kN0MEkdr98P9CBttpokVvIfpSEfSNB/L0r0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32109},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"3bc8b713ebd2f57bffb9778b67cd30ceddf62029","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"bytel","email":"bouygues@codename.co"},"repository":{"url":"git+https://github.com/BouyguesTelecom/spl-envelop-plugin.git","type":"git"},"_npmVersion":"10.8.2","description":"![NPM Version](https://img.shields.io/npm/v/@bouygues-telecom/spl-envelop-plugin?style=flat-square)","directories":{},"_nodeVersion":"20.19.2","dependencies":{"graphql":"^16.11.0","@envelop/core":"^5.2.3","@bouygues-telecom/spl":"^0.1.16"},"_hasShrinkwrap":false,"peerDependency":{"graphql":"^16.11.0","@envelop/core":"^5.2.3"},"devDependencies":{"typescript":"^5.8.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/spl-envelop-plugin_0.2.5_1749021578706_0.9829442464649041","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"@bouygues-telecom/spl-envelop-plugin","version":"0.2.6","author":{"name":"Bouygues Telecom"},"license":"Apache-2.0","_id":"@bouygues-telecom/spl-envelop-plugin@0.2.6","maintainers":[{"name":"bytel","email":"bouygues@codename.co"}],"homepage":"https://github.com/BouyguesTelecom/spl-envelop-plugin#readme","bugs":{"url":"https://github.com/BouyguesTelecom/spl-envelop-plugin/issues"},"dist":{"shasum":"8c198f4e15d934b211fc3a95357a758da65df7a1","tarball":"https://registry.npmjs.org/@bouygues-telecom/spl-envelop-plugin/-/spl-envelop-plugin-0.2.6.tgz","fileCount":13,"integrity":"sha512-wsJucMKTF/lfo4YAiMTRR+vzD7q+4fqKhUk1p87l8No/+7hkd5MQx3a0eFlNyiUQkObUdJEOMJKa042GGkZp9A==","signatures":[{"sig":"MEUCIQDzo6DXzjYb+tXhg9fKss9vNUF/DEYvVnO2eDjBrnN7gQIgGbFkeArrDrazvppbCcU5XCSWZHNN3ecD/iObdDfZyUk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35244},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"891079d053cbcf4c19eaa47379f602fa1bc2bd0e","scripts":{"test":"vitest run","build":"tsc","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"bytel","email":"bouygues@codename.co"},"repository":{"url":"git+https://github.com/BouyguesTelecom/spl-envelop-plugin.git","type":"git"},"_npmVersion":"10.8.2","description":"![NPM Version](https://img.shields.io/npm/v/@bouygues-telecom/spl-envelop-plugin?style=flat-square)","directories":{},"_nodeVersion":"20.19.2","dependencies":{"graphql":"^16.11.0","@envelop/core":"^5.2.3","@bouygues-telecom/spl":"^0.1.16"},"_hasShrinkwrap":false,"peerDependency":{"graphql":"^16.11.0","@envelop/core":"^5.2.3"},"devDependencies":{"vitest":"^3.2.1","typescript":"^5.8.3","@types/node":"^20.11.19","@vitest/coverage-v8":"^3.2.1"},"_npmOperationalInternal":{"tmp":"tmp/spl-envelop-plugin_0.2.6_1749021612660_0.30750565840572053","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-06-03T23:36:44.505Z","modified":"2026-07-22T13:30:57.670Z","0.2.0":"2025-06-03T23:36:44.822Z","0.2.1":"2025-06-03T23:43:48.492Z","0.2.2":"2025-06-03T23:47:12.419Z","0.2.3":"2025-06-04T00:11:52.214Z","0.2.4":"2025-06-04T00:13:49.354Z","0.2.5":"2025-06-04T07:19:38.864Z","0.2.6":"2025-06-04T07:20:12.845Z"},"bugs":{"url":"https://github.com/BouyguesTelecom/spl-envelop-plugin/issues"},"author":{"name":"Bouygues Telecom"},"license":"Apache-2.0","homepage":"https://github.com/BouyguesTelecom/spl-envelop-plugin#readme","repository":{"url":"git+https://github.com/BouyguesTelecom/spl-envelop-plugin.git","type":"git"},"description":"![NPM Version](https://img.shields.io/npm/v/@bouygues-telecom/spl-envelop-plugin?style=flat-square)","maintainers":[{"email":"bouygues@codename.co","name":"bytel"},{"email":"rkhatwan@bouyguestelecom.fr","name":"ravi.khatwani"},{"email":"arthur03.maury@gmail.com","name":"artymaury"}],"readme":"# Simple Predicate Langage (SPL)\n\n![NPM Version](https://img.shields.io/npm/v/@bouygues-telecom/spl-envelop-plugin?style=flat-square)\n\n[SPL](https://github.com/BouyguesTelecom/SPL) is a very small, lightweight, straightforward and non-evaluated expression language to sort, filter and paginate arrays of maps.\n\nThis package is a [GraphQL Envelop](https://the-guild.dev/graphql/envelop) plugin of the `@SPL` directive, bringing SPL capabilities to your GraphQL API.\n\n## Usage\n\n```graphql\nquery GetUsers {\n  users @SPL(query: \"SORT BY age LIMIT 3\") {\n    name\n    age\n  }\n}\n```\n\n## Getting Started\n\nTo use the SPL Envelop plugin, you need to:\n\n1. Install the package:\n\n    ```shell\n    npm install @bouygues-telecom/spl-envelop-plugin\n    ```\n\n2. Import the plugin in your GraphQL Mesh configuration:\n\n    ```typescript\n    // ...\n    import { splDirectiveTypeDef } from '@bouygues-telecom/spl-envelop-plugin'\n\n    export const composeConfig = defineConfig({\n      // ...\n      additionalTypeDefs: /* GraphQL */ `\n        ${splDirectiveTypeDef}\n      `,\n    })\n    ```\n\n3. Add the plugin to your GraphQL Mesh configuration:\n\n    ```typescript\n    // ...\n    import { useSPL } from '@bouygues-telecom/spl-envelop-plugin'\n\n    export const composeConfig = defineConfig({\n      // ...\n      plugins: [\n        useSPL(),\n      ],\n    })\n    ```\n","readmeFilename":"README.md"}