{"_id":"@dreyerx/dreyerxns-js","_rev":"2-fcccbbcb58b3b90fd5e79bb62700b47c","name":"@dreyerx/dreyerxns-js","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@dreyerx/dreyerxns-js","version":"1.0.0","license":"MIT","_id":"@dreyerx/dreyerxns-js@1.0.0","maintainers":[{"name":"dreyerx","email":"info@dreyerx.com"}],"homepage":"https://github.com/ensdomains/ensjs-v3#readme","bugs":{"url":"https://github.com/ensdomains/ensjs-v3/issues"},"dist":{"shasum":"4595e7a4bbe457bfb7f19ccd7b7b9d9200115ec3","tarball":"https://registry.npmjs.org/@dreyerx/dreyerxns-js/-/dreyerxns-js-1.0.0.tgz","fileCount":906,"integrity":"sha512-Uz2v/7d7U3KiFcD0RAGQaVgZFC1tXYSQk43gKhk5qVCMPIj+LHrwgryiGBEM9CxQapbMl1FmHEi3xyebn6oq4A==","signatures":[{"sig":"MEUCIFdSUgYdhv26nGkCxVvM4GS8zg+G/I6pJw7wIO3topk1AiEA0aoB/+yvajrRARNxQJrRH1KcPIObntyZ+OBKLaPHKog=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2441118},"main":"./dist/cjs/index.js","_from":"file:dreyerx-dreyerxns-js-1.0.0.tgz","types":"./dist/types/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","default":"./dist/cjs/index.js"},"./dns":{"types":"./dist/types/dns.d.ts","import":"./dist/esm/dns.js","default":"./dist/cjs/dns.js"},"./utils":{"types":"./dist/types/utils/index.d.ts","import":"./dist/esm/utils/index.js","default":"./dist/cjs/utils/index.js"},"./public":{"types":"./dist/types/public.d.ts","import":"./dist/esm/public.js","default":"./dist/cjs/public.js"},"./wallet":{"types":"./dist/types/wallet.d.ts","import":"./dist/esm/wallet.js","default":"./dist/cjs/wallet.js"},"./subgraph":{"types":"./dist/types/subgraph.d.ts","import":"./dist/esm/subgraph.js","default":"./dist/cjs/subgraph.js"},"./contracts":{"types":"./dist/types/contracts/index.d.ts","import":"./dist/esm/contracts/index.js","default":"./dist/cjs/contracts/index.js"},"./package.json":"./package.json"},"typings":"./dist/types/index.d.ts","_npmUser":{"name":"dreyerx","email":"info@dreyerx.com"},"_resolved":"/tmp/712ab31e9dcf14bd59233f63bba7fcaa/dreyerx-dreyerxns-js-1.0.0.tgz","_integrity":"sha512-Uz2v/7d7U3KiFcD0RAGQaVgZFC1tXYSQk43gKhk5qVCMPIj+LHrwgryiGBEM9CxQapbMl1FmHEi3xyebn6oq4A==","repository":{"url":"git+ssh://git@github.com/ensdomains/ensjs-v3.git","type":"git"},"_npmVersion":"10.7.0","description":"ENS javascript library for contract interaction","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","dependencies":{"pako":"^2.1.0","abitype":"^1.0.0","graphql":"^16.3.0","dns-packet":"^5.3.1","graphql-request":"6.1.0","@adraffy/ens-normalize":"1.10.1","@ensdomains/dnsprovejs":"^0.5.1","@ensdomains/content-hash":"3.1.0-rc.1","@ensdomains/address-encoder":"1.1.1"},"typesVersions":{"*":{"dns":["./dist/types/dns.d.ts"],"utils":["./dist/types/utils/index.d.ts"],"public":["./dist/types/public.d.ts"],"wallet":["./dist/types/wallet.d.ts"],"subgraph":["./dist/types/subgraph.d.ts"],"contracts":["./dist/types/contracts/index.d.ts"]}},"_hasShrinkwrap":false,"peerDependencies":{"viem":"^2.9.2"},"_npmOperationalInternal":{"tmp":"tmp/dreyerxns-js_1.0.0_1720765095397_0.4160746138172349","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@dreyerx/dreyerxns-js","version":"1.0.1","license":"MIT","_id":"@dreyerx/dreyerxns-js@1.0.1","maintainers":[{"name":"dreyerx","email":"info@dreyerx.com"}],"homepage":"https://github.com/ensdomains/ensjs-v3#readme","bugs":{"url":"https://github.com/ensdomains/ensjs-v3/issues"},"dist":{"shasum":"820d17825b51b1796b220134418054b5f4996148","tarball":"https://registry.npmjs.org/@dreyerx/dreyerxns-js/-/dreyerxns-js-1.0.1.tgz","fileCount":1231,"integrity":"sha512-+c2opGGRMoX03VC0ScNzNkMU2WaHjT58x2/WZ5YZtXb2Ep04u6HJhdacFz6jbuuIZyX2+bjG+BglYoK1feCL/A==","signatures":[{"sig":"MEUCIQChnfA2zbZTmt9PoKOyENNToW7wsiHz9n9JwnajMheynwIgB18EGvO6+SuNWiMdS+7LMNuLVCt38LY8ifS6RYxymAI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3273935},"main":"./dist/cjs/index.js","_from":"file:dreyerx-dreyerxns-js-1.0.1.tgz","types":"./dist/types/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","default":"./dist/cjs/index.js"},"./dns":{"types":"./dist/types/dns.d.ts","import":"./dist/esm/dns.js","default":"./dist/cjs/dns.js"},"./utils":{"types":"./dist/types/utils/index.d.ts","import":"./dist/esm/utils/index.js","default":"./dist/cjs/utils/index.js"},"./public":{"types":"./dist/types/public.d.ts","import":"./dist/esm/public.js","default":"./dist/cjs/public.js"},"./wallet":{"types":"./dist/types/wallet.d.ts","import":"./dist/esm/wallet.js","default":"./dist/cjs/wallet.js"},"./subgraph":{"types":"./dist/types/subgraph.d.ts","import":"./dist/esm/subgraph.js","default":"./dist/cjs/subgraph.js"},"./contracts":{"types":"./dist/types/contracts/index.d.ts","import":"./dist/esm/contracts/index.js","default":"./dist/cjs/contracts/index.js"},"./package.json":"./package.json"},"typings":"./dist/types/index.d.ts","_npmUser":{"name":"dreyerx","email":"info@dreyerx.com"},"_resolved":"/tmp/4a22eb15a5c4575d6200f46f83dc1d9c/dreyerx-dreyerxns-js-1.0.1.tgz","_integrity":"sha512-+c2opGGRMoX03VC0ScNzNkMU2WaHjT58x2/WZ5YZtXb2Ep04u6HJhdacFz6jbuuIZyX2+bjG+BglYoK1feCL/A==","repository":{"url":"git+ssh://git@github.com/ensdomains/ensjs-v3.git","type":"git"},"_npmVersion":"10.7.0","description":"The ultimate ENS javascript library, with [viem](https://github.com/wagmi-dev/viem) under the hood.","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","dependencies":{"pako":"^2.1.0","abitype":"^1.0.0","graphql":"^16.3.0","dns-packet":"^5.3.1","graphql-request":"6.1.0","@adraffy/ens-normalize":"1.10.1","@ensdomains/dnsprovejs":"^0.5.1","@ensdomains/content-hash":"3.1.0-rc.1","@ensdomains/address-encoder":"1.1.1"},"typesVersions":{"*":{"dns":["./dist/types/dns.d.ts"],"utils":["./dist/types/utils/index.d.ts"],"public":["./dist/types/public.d.ts"],"wallet":["./dist/types/wallet.d.ts"],"subgraph":["./dist/types/subgraph.d.ts"],"contracts":["./dist/types/contracts/index.d.ts"]}},"_hasShrinkwrap":false,"peerDependencies":{"viem":"^2.9.2"},"_npmOperationalInternal":{"tmp":"tmp/dreyerxns-js_1.0.1_1720787382480_0.19307107772866106","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@dreyerx/dreyerxns-js","dependencies":{"@adraffy/ens-normalize":"1.10.1","@ensdomains/address-encoder":"1.1.1","@ensdomains/content-hash":"3.1.0-rc.1","@ensdomains/dnsprovejs":"^0.5.1","abitype":"^1.0.0","dns-packet":"^5.3.1","graphql":"^16.3.0","graphql-request":"6.1.0","pako":"^2.1.0"},"peerDependencies":{"viem":"^2.9.2"},"version":"1.0.2","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","default":"./dist/cjs/index.js"},"./contracts":{"types":"./dist/types/contracts/index.d.ts","import":"./dist/esm/contracts/index.js","default":"./dist/cjs/contracts/index.js"},"./dns":{"types":"./dist/types/dns.d.ts","import":"./dist/esm/dns.js","default":"./dist/cjs/dns.js"},"./public":{"types":"./dist/types/public.d.ts","import":"./dist/esm/public.js","default":"./dist/cjs/public.js"},"./subgraph":{"types":"./dist/types/subgraph.d.ts","import":"./dist/esm/subgraph.js","default":"./dist/cjs/subgraph.js"},"./utils":{"types":"./dist/types/utils/index.d.ts","import":"./dist/esm/utils/index.js","default":"./dist/cjs/utils/index.js"},"./wallet":{"types":"./dist/types/wallet.d.ts","import":"./dist/esm/wallet.js","default":"./dist/cjs/wallet.js"},"./package.json":"./package.json"},"main":"./dist/cjs/index.js","module":"./dist/esm/index.js","types":"./dist/types/index.d.ts","typings":"./dist/types/index.d.ts","typesVersions":{"*":{"contracts":["./dist/types/contracts/index.d.ts"],"dns":["./dist/types/dns.d.ts"],"public":["./dist/types/public.d.ts"],"subgraph":["./dist/types/subgraph.d.ts"],"utils":["./dist/types/utils/index.d.ts"],"wallet":["./dist/types/wallet.d.ts"]}},"sideEffects":false,"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/ensdomains/ensjs-v3.git"},"_id":"@dreyerx/dreyerxns-js@1.0.2","description":"The ultimate ENS javascript library, with [viem](https://github.com/wagmi-dev/viem) under the hood.","bugs":{"url":"https://github.com/ensdomains/ensjs-v3/issues"},"homepage":"https://github.com/ensdomains/ensjs-v3#readme","_integrity":"sha512-h7tzuvPN/tzZbQ9Y3ntqudzp+5TAVRx9vwRTSyJ4huf16DAJF+ortxWpo1BAspIGSfF6ZRpPyKTHV3/pnR57Cw==","_resolved":"/tmp/55f3a95b7f4ffbc9d70b479cbe843876/dreyerx-dreyerxns-js-1.0.2.tgz","_from":"file:dreyerx-dreyerxns-js-1.0.2.tgz","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-h7tzuvPN/tzZbQ9Y3ntqudzp+5TAVRx9vwRTSyJ4huf16DAJF+ortxWpo1BAspIGSfF6ZRpPyKTHV3/pnR57Cw==","shasum":"a30da862a2f2f09c2bce9930f4f917b9975f28c1","tarball":"https://registry.npmjs.org/@dreyerx/dreyerxns-js/-/dreyerxns-js-1.0.2.tgz","fileCount":1231,"unpackedSize":3273940,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4yUKxpueFbW4psTzUXRnB5M9YCIOfFi7LQWHzIChwxAIgUIzv+O4u4xgx2dyWcVzOACfa6V1vdgrYjhqz4cTEw1E="}]},"_npmUser":{"name":"dreyerx","email":"info@dreyerx.com"},"directories":{},"maintainers":[{"name":"dreyerx","email":"info@dreyerx.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dreyerxns-js_1.0.2_1720790770290_0.17548548500235994"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-12T06:18:15.298Z","modified":"2024-07-12T13:26:10.733Z","1.0.0":"2024-07-12T06:18:15.601Z","1.0.1":"2024-07-12T12:29:42.717Z","1.0.2":"2024-07-12T13:26:10.542Z"},"bugs":{"url":"https://github.com/ensdomains/ensjs-v3/issues"},"license":"MIT","homepage":"https://github.com/ensdomains/ensjs-v3#readme","repository":{"type":"git","url":"git+ssh://git@github.com/ensdomains/ensjs-v3.git"},"description":"The ultimate ENS javascript library, with [viem](https://github.com/wagmi-dev/viem) under the hood.","maintainers":[{"name":"dreyerx","email":"info@dreyerx.com"}],"readme":"# ![ENSjs](https://user-images.githubusercontent.com/11844316/161689061-98ea01ee-b119-40ac-a512-5370eb8b4107.svg)\n\nThe ultimate ENS javascript library, with [viem](https://github.com/wagmi-dev/viem) under the hood.\n\n## Features\n\n- Super fast response times\n- Easy call batchability\n- Written in TypeScript\n- Supports the most cutting edge ENS features\n- Full tree-shaking support\n\n## Installation\n\nInstall @ensdomains/ensjs, alongside [viem](https://github.com/wagmi-dev/viem).\n\n```sh\nnpm install @ensdomains/ensjs viem\n```\n\n## Getting Started\n\nThe most simple way to get started is to create a public ENS client, with a supported\nchain and transport imported from viem. The public client has all the read functions available on it,\nas well as all subgraph functions.\n\n```ts\n// Import viem transport, viem chain, and ENSjs\nimport { http } from 'viem'\nimport { mainnet } from 'viem/chains'\nimport { createEnsPublicClient } from '@ensdomains/ensjs'\n\n// Create the client\nconst client = createEnsPublicClient({\n  chain: mainnet,\n  transport: http(),\n})\n\n// Use the client\nconst ethAddress = client.getAddressRecord({ name: 'ens.eth' })\n```\n\n## Docs\n\nDocs can be found [here](https://github.com/ensdomains/ensjs-v3/tree/main/docs). Full docs site coming soon.\n","readmeFilename":"README.md"}