{"_id":"@alex-ai/tools","_rev":"6-76f08b4881eb460e58c09dfaf8c9b830","name":"@alex-ai/tools","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.2":{"name":"@alex-ai/tools","version":"0.0.2","_id":"@alex-ai/tools@0.0.2","maintainers":[{"name":"debugged","email":"alexbankras@gmail.com"}],"dist":{"shasum":"4a21722441ab9485444bde28052f11eb5f5c1923","tarball":"https://registry.npmjs.org/@alex-ai/tools/-/tools-0.0.2.tgz","fileCount":29,"integrity":"sha512-xxKzXXMck3ejUotLe4Swj3Bo2KVtDqHkzPjsu5m7YFSgJD8TMiWlFTvmeveiQnddUIO/OBH4WzaBhDOUKxz3gw==","signatures":[{"sig":"MEUCICo3gphILAxEEbN0OSp222779qcaphE23oi2KWRrANRbAiEA43Vv2/8rOAgwaBCOGtEjhsBX/ThUEPK4elgWP9eNR+c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39997},"type":"module","exports":{".":"./src/index.ts"},"gitHead":"81ba796e34e52f1739a8a41384764cefc7d51b33","scripts":{"lint":"eslint 'src/**/*.ts'","build":"tsc","release":"pnpm build && npm publish --access public"},"_npmUser":{"name":"debugged","email":"alexbankras@gmail.com"},"_npmVersion":"10.9.2","directories":{},"_nodeVersion":"22.17.1","dependencies":{"zod":"^3.25.76","jsdom":"^26.1.0","cheerio":"^1.1.2","js-beautify":"^1.15.4","robots-parser":"^3.0.1","@alex-ai/agent":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"@types/jsdom":"^21.1.7","@alex-ai/tsconfig":"workspace:*","@types/js-beautify":"^1.14.3"},"_npmOperationalInternal":{"tmp":"tmp/tools_0.0.2_1753792458455_0.7481335525844155","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@alex-ai/tools","version":"0.0.3","_id":"@alex-ai/tools@0.0.3","maintainers":[{"name":"debugged","email":"alexbankras@gmail.com"}],"dist":{"shasum":"b78b525c2f56a91b8a1f6ba9004f35df9b95074a","tarball":"https://registry.npmjs.org/@alex-ai/tools/-/tools-0.0.3.tgz","fileCount":30,"integrity":"sha512-+lOjnANHn1zospbRkUR9YAa15OBkHVrbvy2HC0iwHfzOXCXqT87skU0rNMKK4q+xotT2vFK8cVHt0Ds6zOgDFw==","signatures":[{"sig":"MEQCIGV1BVRyxqxmDdpHpofe/FC4Gb13vS9pgEWDdBvAWy5GAiAoikUo9chvqTwcX4XHbkwC3OayUBDhTDps8gTLRQ6S1A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42558},"type":"module","exports":{".":"./src/index.ts"},"gitHead":"d9f9ae1cbb4a18dacbf95b71ff1b8d9b166000c7","scripts":{"lint":"eslint 'src/**/*.ts'","build":"tsc","release":"pnpm build && npm publish --access public"},"_npmUser":{"name":"debugged","email":"alexbankras@gmail.com"},"_npmVersion":"10.9.2","description":"A modular collection of utility tools for Node.js and TypeScript, designed to power agent-based applications and automation workflows. Part of the [alex-ai](https://github.com/alex-ai) ecosystem.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"zod":"^3.25.76","jsdom":"^26.1.0","cheerio":"^1.1.2","js-beautify":"^1.15.4","robots-parser":"^3.0.1","@alex-ai/agent":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"@types/jsdom":"^21.1.7","@alex-ai/tsconfig":"workspace:*","@types/js-beautify":"^1.14.3"},"_npmOperationalInternal":{"tmp":"tmp/tools_0.0.3_1753792762734_0.11042676997252365","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@alex-ai/tools","version":"0.0.4","_id":"@alex-ai/tools@0.0.4","maintainers":[{"name":"debugged","email":"alexbankras@gmail.com"}],"dist":{"shasum":"5c27db80b81934f171d5443c5241e0f131c400df","tarball":"https://registry.npmjs.org/@alex-ai/tools/-/tools-0.0.4.tgz","fileCount":30,"integrity":"sha512-tzzTaavIwi9qHP3cd/7j70AMDS6piykZhckBLQe8PBSv1hmwZvlf3cokP1jipquno1QI4JOxqvjQ3d+Dp3L2Fw==","signatures":[{"sig":"MEUCIQDPFiJaNfm3zNH1RXgiNV4/F8lmiRA2Rlexd5o9qaB3IwIgOppaGUaSNLmgOfYeIm3y7asRkeEoUZ29tmbUQ9XKvsU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42210},"type":"module","exports":{".":"./src/index.ts"},"gitHead":"69480a63072da632afa352b5f8702a8236ef3613","scripts":{"lint":"eslint 'src/**/*.ts'","build":"tsc","release":"pnpm build && npm publish --access public"},"_npmUser":{"name":"debugged","email":"alexbankras@gmail.com"},"_npmVersion":"10.9.2","description":"A modular collection of utility tools for Node.js and TypeScript, designed to power agent-based applications and automation workflows. Part of the [alex-ai](https://github.com/Alex-AI-Systems) ecosystem.","directories":{},"_nodeVersion":"22.17.1","dependencies":{"zod":"^3.25.76","jsdom":"^26.1.0","cheerio":"^1.1.2","js-beautify":"^1.15.4","robots-parser":"^3.0.1","@alex-ai/agent":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"@types/jsdom":"^21.1.7","@alex-ai/tsconfig":"workspace:*","@types/js-beautify":"^1.14.3"},"_npmOperationalInternal":{"tmp":"tmp/tools_0.0.4_1753793059018_0.23995179523916832","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@alex-ai/tools","version":"0.0.5","type":"module","exports":{".":{"development":"./src/index.ts","import":"./dist/index.js","types":"./dist/index.d.ts"}},"dependencies":{"cheerio":"^1.1.2","js-beautify":"^1.15.4","jsdom":"^26.1.0","robots-parser":"^3.0.1","zod":"^3.25.76","@alex-ai/agent":"0.0.3"},"devDependencies":{"@types/js-beautify":"^1.14.3","@types/jsdom":"^21.1.7","@alex-ai/tsconfig":"0.0.0"},"scripts":{"lint":"eslint 'src/**/*.ts'","build":"tsc","release":"pnpm build && pnpm publish --access public"},"_id":"@alex-ai/tools@0.0.5","description":"A modular collection of utility tools for Node.js and TypeScript, designed to power agent-based applications and automation workflows. Part of the [alex-ai](https://github.com/Alex-AI-Systems) ecosystem.","_integrity":"sha512-bpUqq6htVFrdfWN95IOd6Nw5q2OaYT0+Yc3kVN8Zx3AM2cUJ8ixFSUVUpUGFOvM0hr2E507WYeAtq9q67PkKfw==","_resolved":"/private/var/folders/q0/t6mj18fj6dn22mh8v_v4mp100000gn/T/80d3245bb0b12252b1594420b1b74080/alex-ai-tools-0.0.5.tgz","_from":"file:alex-ai-tools-0.0.5.tgz","_nodeVersion":"22.17.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-bpUqq6htVFrdfWN95IOd6Nw5q2OaYT0+Yc3kVN8Zx3AM2cUJ8ixFSUVUpUGFOvM0hr2E507WYeAtq9q67PkKfw==","shasum":"bf9dc51269afb2fca2d086813825ff5d1dc9fc1f","tarball":"https://registry.npmjs.org/@alex-ai/tools/-/tools-0.0.5.tgz","fileCount":32,"unpackedSize":43678,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCSeWCxdLNiEcLO4YctcXOwCcz4lsjq/vuSBu4uOzMUtQIhAOX/LLlqc2kp96/z7zVFYOQO9gcdCLjt/Lg3R0tudGXq"}]},"_npmUser":{"name":"debugged","email":"alexbankras@gmail.com"},"directories":{},"maintainers":[{"name":"debugged","email":"alexbankras@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tools_0.0.5_1753868326958_0.217481130112533"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-29T12:34:18.352Z","modified":"2025-07-30T09:38:47.302Z","0.0.1":"2025-07-29T12:31:48.102Z","0.0.2":"2025-07-29T12:34:18.624Z","0.0.3":"2025-07-29T12:39:22.931Z","0.0.4":"2025-07-29T12:44:19.231Z","0.0.5":"2025-07-30T09:38:47.101Z"},"description":"A modular collection of utility tools for Node.js and TypeScript, designed to power agent-based applications and automation workflows. Part of the [alex-ai](https://github.com/Alex-AI-Systems) ecosystem.","maintainers":[{"name":"debugged","email":"alexbankras@gmail.com"}],"readme":"# @alex-ai/tools\n\nA modular collection of utility tools for Node.js and TypeScript, designed to power agent-based applications and automation workflows. Part of the [alex-ai](https://github.com/Alex-AI-Systems) ecosystem.\n\n## Features\n\n- **Weather**: Fetch current weather data for any location.\n- **Home Assistant**: Integrate with Home Assistant for smart home control.\n- **Random Number**: Generate random numbers.\n- **Fetch**: HTTP requests made simple.\n- **Discord**: Utilities for Discord bots and integrations.\n- **Delay**: Add delays/waits in your flows.\n- **Date**: Date and time utilities.\n- **Command Execution**: Run shell commands safely from Node.js.\n- **Web Scraping**: Tools to scrape and parse web content.\n- **File Utilities**: File system helpers.\n\nAll tools are built with strong typing using [zod](https://github.com/colinhacks/zod) schemas, making them safe and easy to use in TypeScript projects.\n\n## Installation\n\n```bash\nnpm install @alex-ai/tools\n```\n\n## Usage\n\n```ts\nimport { weatherTool, fetchTool, delayTool } from '@alex-ai/tools';\n\n// Example usage of the weather tool:\nconst getWeather = weatherTool({ weatherApiKey: 'YOUR_API_KEY' });\nconst result = await getWeather.execute({ location: 'London' });\nconsole.log(result);\n```\n\nEach tool is exported as a factory function or utility. See individual tool documentation or source code for details on input/output schemas.\n\n## Tools Overview\n\n| Tool            | Description                                 |\n|-----------------|---------------------------------------------|\n| `weatherTool`   | Get current weather by location             |\n| `homeAssistant` | Control Home Assistant devices              |\n| `randomNumber`  | Generate random numbers                     |\n| `fetchTool`     | Perform HTTP requests                       |\n| `discordTool`   | Discord bot utilities                       |\n| `delayTool`     | Delay execution                             |\n| `dateTool`      | Date/time helpers                           |\n| `cmdTool`       | Execute shell commands                      |\n| `scrapingTools` | Web scraping utilities                      |\n| `filesTools`    | File system operations                      |\n","readmeFilename":"README.md"}