{"_id":"@2easy/workplace-api","_rev":"4-8684d0d5a5fe3ce5fdcb1b2e87a16890","name":"@2easy/workplace-api","dist-tags":{"latest":"0.0.1-3"},"versions":{"0.0.1-0":{"name":"@2easy/workplace-api","version":"0.0.1-0","keywords":[],"author":"","license":"ISC","_id":"@2easy/workplace-api@0.0.1-0","maintainers":[{"name":"whyman","email":"mark@markwyman.net"}],"dist":{"shasum":"d38ec9ad0c55768849e0c75e7cee8cc4d48be31c","tarball":"https://registry.npmjs.org/@2easy/workplace-api/-/workplace-api-0.0.1-0.tgz","fileCount":34,"integrity":"sha512-Gop2kkBSoqNWYjXYscUATJ4L3KFbfxdmGklbEY3EX3wPM82pS4Z2T3+p7jpGAji8s09jd9rJvgrPMSAJ6We4FQ==","signatures":[{"sig":"MEUCIGebT+IcuniSgTShZNe6Ruv/by+oo5ZrX78aRNgpCBONAiEAwzlqBgOSAsY1qIH5kTZqyxod6S2uJZHb1YZX2CmjhSg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39687},"main":"./lib/cjs/index.js","_from":"file:2easy-workplace-api-0.0.1-0.tgz","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","scripts":{"dev":"tsc -w -p tsconfig.json","lint":"eslint . --ext .ts","test":"echo \"Error: no test specified\" && exit 1","build":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","script:example":"tsx ./scripts/example.ts"},"_npmUser":{"name":"whyman","email":"mark@markwyman.net"},"_resolved":"/private/var/folders/z0/vz6g0lws4gvglbfmklp2f62w0000gn/T/1d21989d963064d87371edc7b368d255/2easy-workplace-api-0.0.1-0.tgz","_integrity":"sha512-Gop2kkBSoqNWYjXYscUATJ4L3KFbfxdmGklbEY3EX3wPM82pS4Z2T3+p7jpGAji8s09jd9rJvgrPMSAJ6We4FQ==","_npmVersion":"10.8.2","description":"**Pre-release** in active development","directories":{},"_nodeVersion":"22.6.0","dependencies":{"axios":"^1.7.9","debug":"^4.4.0","form-data":"^4.0.2","snakecase-keys":"^8.0.1","ts-case-convert":"^2.1.0","@maselious/bottleneck":"^2.19.8"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","jest":"^29.7.0","dotenv":"^16.4.7","eslint":"^9.21.0","ts-jest":"^29.2.6","bluebird":"^3.7.2","prettier":"^3.5.2","typescript":"^5.7.3","@types/jest":"^29.5.14","@types/node":"^22.13.5","@types/debug":"^4.1.12","@types/bluebird":"^3.5.42","typescript-eslint":"^8.25.0","eslint-plugin-import":"^2.31.0","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.3","@typescript-eslint/parser":"^8.25.0","@typescript-eslint/eslint-plugin":"^8.25.0"},"_npmOperationalInternal":{"tmp":"tmp/workplace-api_0.0.1-0_1740570765406_0.5745112152087621","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-1":{"name":"@2easy/workplace-api","version":"0.0.1-1","keywords":[],"author":"","license":"ISC","_id":"@2easy/workplace-api@0.0.1-1","maintainers":[{"name":"whyman","email":"mark@markwyman.net"}],"dist":{"shasum":"46aaba8cb5770e1e721d782646a061d3dcc07c56","tarball":"https://registry.npmjs.org/@2easy/workplace-api/-/workplace-api-0.0.1-1.tgz","fileCount":42,"integrity":"sha512-87S0zHj3q4/JSewSyHJ8WzxtFAv1aV0//wesDkmoHWg778elY5RKoWYdSxk45iFSyRwCwBS/v/fiCFDSu9q27Q==","signatures":[{"sig":"MEUCIQC+UGSg6Ar4VR/Jp1bX9f21tTmzF3ZqOTnG1hyeJcCfJAIgJZuKu17nyZEpane6d+kBbC/ryJsks/CU0E0vx34R0q8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":65349},"main":"./lib/cjs/index.js","_from":"file:2easy-workplace-api-0.0.1-1.tgz","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","scripts":{"dev":"tsc -w -p tsconfig.json","lint":"eslint . --ext .ts","test":"echo \"Error: no test specified\" && exit 1","build":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","script:example":"tsx ./scripts/example.ts","script:crawl-posts":"tsx ./scripts/crawl-posts.ts","script:crawl-groups":"tsx ./scripts/crawl-groups.ts"},"_npmUser":{"name":"whyman","email":"mark@markwyman.net"},"_resolved":"/private/var/folders/z0/vz6g0lws4gvglbfmklp2f62w0000gn/T/538d8adb83e080107e089475421fb780/2easy-workplace-api-0.0.1-1.tgz","_integrity":"sha512-87S0zHj3q4/JSewSyHJ8WzxtFAv1aV0//wesDkmoHWg778elY5RKoWYdSxk45iFSyRwCwBS/v/fiCFDSu9q27Q==","_npmVersion":"10.8.2","description":"**Pre-release** in active development","directories":{},"_nodeVersion":"22.6.0","dependencies":{"axios":"^1.7.9","debug":"^4.4.0","form-data":"^4.0.2","snakecase-keys":"^8.0.1","ts-case-convert":"^2.1.0","@maselious/bottleneck":"^2.19.8"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","jest":"^29.7.0","dotenv":"^16.4.7","eslint":"^9.21.0","ts-jest":"^29.2.6","bluebird":"^3.7.2","prettier":"^3.5.2","typescript":"^5.7.3","@types/jest":"^29.5.14","@types/node":"^22.13.5","@types/debug":"^4.1.12","@types/bluebird":"^3.5.42","typescript-eslint":"^8.25.0","eslint-plugin-import":"^2.31.0","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.3","@typescript-eslint/parser":"^8.25.0","@typescript-eslint/eslint-plugin":"^8.25.0"},"_npmOperationalInternal":{"tmp":"tmp/workplace-api_0.0.1-1_1741925635298_0.18212791005072715","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-2":{"name":"@2easy/workplace-api","version":"0.0.1-2","keywords":[],"author":"","license":"ISC","_id":"@2easy/workplace-api@0.0.1-2","maintainers":[{"name":"whyman","email":"mark@markwyman.net"}],"dist":{"shasum":"1a8f14225638bde60cb48a7f3f344577c1710f95","tarball":"https://registry.npmjs.org/@2easy/workplace-api/-/workplace-api-0.0.1-2.tgz","fileCount":42,"integrity":"sha512-5prtLww67lWZ1NX57esic25gTpZaeExNm3q3Zi900i4GVozQnF2+ZXPDDtg++zGx7DRNeicoVMEk1+e/mWD0CA==","signatures":[{"sig":"MEUCIQDcJd3MSNXGqy1dQynNgEMmMBu4cVPtebmcpw06U+xxjgIgXo53Qdkc6BAlCGvvxTccObk67P5jc2AnqRp+PbRNqAU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":65759},"main":"./lib/cjs/index.js","_from":"file:2easy-workplace-api-0.0.1-2.tgz","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","scripts":{"dev":"tsc -w -p tsconfig.json","lint":"eslint . --ext .ts","test":"echo \"Error: no test specified\" && exit 1","build":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","script:example":"tsx ./scripts/example.ts","script:crawl-posts":"tsx ./scripts/crawl-posts.ts","script:crawl-groups":"tsx ./scripts/crawl-groups.ts"},"_npmUser":{"name":"whyman","email":"mark@markwyman.net"},"_resolved":"/private/var/folders/z0/vz6g0lws4gvglbfmklp2f62w0000gn/T/034ccbf58e1a70375ffe43862337b197/2easy-workplace-api-0.0.1-2.tgz","_integrity":"sha512-5prtLww67lWZ1NX57esic25gTpZaeExNm3q3Zi900i4GVozQnF2+ZXPDDtg++zGx7DRNeicoVMEk1+e/mWD0CA==","_npmVersion":"10.8.2","description":"**Pre-release** in active development","directories":{},"_nodeVersion":"22.6.0","dependencies":{"axios":"^1.7.9","debug":"^4.4.0","form-data":"^4.0.2","snakecase-keys":"^8.0.1","ts-case-convert":"^2.1.0","@maselious/bottleneck":"^2.19.8"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","jest":"^29.7.0","dotenv":"^16.4.7","eslint":"^9.21.0","ts-jest":"^29.2.6","bluebird":"^3.7.2","prettier":"^3.5.2","typescript":"^5.7.3","@types/jest":"^29.5.14","@types/node":"^22.13.5","@types/debug":"^4.1.12","@types/bluebird":"^3.5.42","typescript-eslint":"^8.25.0","eslint-plugin-import":"^2.31.0","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.3","@typescript-eslint/parser":"^8.25.0","@typescript-eslint/eslint-plugin":"^8.25.0"},"_npmOperationalInternal":{"tmp":"tmp/workplace-api_0.0.1-2_1741926608571_0.9158971505277738","host":"s3://npm-registry-packages-npm-production"}},"0.0.1-3":{"name":"@2easy/workplace-api","version":"0.0.1-3","description":"**Pre-release** in active development","main":"./lib/cjs/index.js","module":"./lib/esm/index.js","keywords":[],"author":"","license":"ISC","devDependencies":{"@types/bluebird":"^3.5.42","@types/debug":"^4.1.12","@types/jest":"^29.5.14","@types/node":"^22.13.5","@typescript-eslint/eslint-plugin":"^8.25.0","@typescript-eslint/parser":"^8.25.0","bluebird":"^3.7.2","dotenv":"^16.4.7","eslint":"^9.21.0","eslint-config-prettier":"^10.0.1","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.3","jest":"^29.7.0","prettier":"^3.5.2","ts-jest":"^29.2.6","tsx":"^4.19.3","typescript":"^5.7.3","typescript-eslint":"^8.25.0"},"dependencies":{"@maselious/bottleneck":"^2.19.8","axios":"^1.7.9","debug":"^4.4.0","form-data":"^4.0.2","snakecase-keys":"^8.0.1","ts-case-convert":"^2.1.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","dev":"tsc -w -p tsconfig.json","build":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","script:example":"tsx ./scripts/example.ts","script:crawl-groups":"tsx ./scripts/crawl-groups.ts","script:crawl-posts":"tsx ./scripts/crawl-posts.ts","lint":"eslint . --ext .ts"},"_id":"@2easy/workplace-api@0.0.1-3","types":"./lib/cjs/index.d.ts","_integrity":"sha512-6g4Nek9/QQQ8uvlKDBFcsR6I05oO0q88QMNTfZv0gbo4VyxULbxfmMx8k5iXKXFvWRCTv9wrIReQ/N7KMiCB8Q==","_resolved":"/private/var/folders/z0/vz6g0lws4gvglbfmklp2f62w0000gn/T/3b1949631b172645b5d24bf19d552926/2easy-workplace-api-0.0.1-3.tgz","_from":"file:2easy-workplace-api-0.0.1-3.tgz","_nodeVersion":"22.6.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-6g4Nek9/QQQ8uvlKDBFcsR6I05oO0q88QMNTfZv0gbo4VyxULbxfmMx8k5iXKXFvWRCTv9wrIReQ/N7KMiCB8Q==","shasum":"f3e630449e149b75bb379cf939dd48d2cba4f7ac","tarball":"https://registry.npmjs.org/@2easy/workplace-api/-/workplace-api-0.0.1-3.tgz","fileCount":50,"unpackedSize":78717,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDhW08oG+6hWgMOv17yedyOL+2kxyBtGIWERwXnqHQG6AIhAN2npXDSq7fTwontah8f0QbeVHnYEWsPusOy0UdO3sxx"}]},"_npmUser":{"name":"whyman","email":"mark@markwyman.net"},"directories":{},"maintainers":[{"name":"whyman","email":"mark@markwyman.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/workplace-api_0.0.1-3_1742279094214_0.5681484624298563"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-26T11:52:45.320Z","modified":"2025-03-18T06:24:54.572Z","0.0.1-0":"2025-02-26T11:52:45.557Z","0.0.1-1":"2025-03-14T04:13:55.501Z","0.0.1-2":"2025-03-14T04:30:08.780Z","0.0.1-3":"2025-03-18T06:24:54.393Z"},"license":"ISC","keywords":[],"description":"**Pre-release** in active development","maintainers":[{"name":"whyman","email":"mark@markwyman.net"}],"readme":"**Pre-release** in active development\n\n# Workplace API for Node.js\n\nThis is a module that will assist with the use of API's provided by the Workplace\nfrom Meta platform. \n\n## Installation\n\n### With PNPM\n\n```bash\npnpm add @2easy/workplace-api\n```\n\n### With NPM\n\n```bash\nnpm install @2easy/workplace-api\n```\n\n### With Yarn\n\n```bash\nyarn add @2easy/workplace-api\n```\n\n## Usage\n\n```js\nconst configuration = new WorkplaceAPIConfiguration(accessToken, { appId, appSecret });\n\nconst workplace = new WorkplaceAPI(configuration);\n\nconst attachment = await workplace.uploadImage(giphy);\nawait workplace.sendImage('100056146581076', attachment.attachmentId);\nawait workplace.sendText('100056146581076', message);\n```\n","readmeFilename":"README.md"}