{"_id":"@baobabtech/talentlms-js","_rev":"5-2834692768be704c2666dde22de5ea50","name":"@baobabtech/talentlms-js","dist-tags":{"latest":"0.0.15"},"versions":{"0.0.10":{"name":"@baobabtech/talentlms-js","version":"0.0.10","keywords":["talentlms","api","wrapper","typescript"],"author":{"name":"Olivier Mills"},"license":"MIT","_id":"@baobabtech/talentlms-js@0.0.10","maintainers":[{"name":"omills","email":"olivier@baobabtech.ai"}],"homepage":"https://github.com/baobab-tech/talentlms-js#readme","bugs":{"url":"https://github.com/baobab-tech/talentlms-js/issues"},"dist":{"shasum":"eeb92f8344a9583ec5d5c7551937538d2fca1a6b","tarball":"https://registry.npmjs.org/@baobabtech/talentlms-js/-/talentlms-js-0.0.10.tgz","fileCount":10,"integrity":"sha512-JI1JPAdlfsB0z1N6kqSy0esEuIT3e5LD5htSSXef1dHILXPDIibg5QVXnVNCoMv0TOsrJhQ9DNTrTNq0wlJ5Ew==","signatures":[{"sig":"MEUCIQDkvjflmWk7x4V4bih31dgp3LfCHoyvfAT178EPKlzBXwIgI40eus0MCOqD63bEJjQVLsQ5uinzIhs1tw2PljKKIiA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":96859},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"9290e702daf756d2658f1c88c4d8ea39a086780c","scripts":{"lint":"eslint . --ext .ts","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"omills","email":"olivier@baobabtech.ai"},"repository":{"url":"git+https://github.com/baobab-tech/talentlms-js.git","type":"git"},"_npmVersion":"10.8.3","description":"A TypeScript/JavaScript wrapper for the TalentLMS API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"node-fetch":"^3.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.10.0","ts-jest":"^29.2.5","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.5.4","auto-changelog":"^2.4.0","@typescript-eslint/parser":"^8.4.0","@typescript-eslint/eslint-plugin":"^8.4.0"},"_npmOperationalInternal":{"tmp":"tmp/talentlms-js_0.0.10_1725774137814_0.38075781395280583","host":"s3://npm-registry-packages"}},"0.0.11":{"name":"@baobabtech/talentlms-js","version":"0.0.11","keywords":["talentlms","api","wrapper","typescript"],"author":{"name":"Olivier Mills"},"license":"MIT","_id":"@baobabtech/talentlms-js@0.0.11","maintainers":[{"name":"omills","email":"olivier@baobabtech.ai"}],"homepage":"https://github.com/baobab-tech/talentlms-js#readme","bugs":{"url":"https://github.com/baobab-tech/talentlms-js/issues"},"dist":{"shasum":"165889348b039dd0eef38d1efb7eadcc4b11dbe9","tarball":"https://registry.npmjs.org/@baobabtech/talentlms-js/-/talentlms-js-0.0.11.tgz","fileCount":10,"integrity":"sha512-7gSwNtjuYtz/3pJM0LUP0D38IF8BEWWW2+qNwPyjtVs3YKunkovFY+dE1ERy5gk2Mcxvli9nl6dgRyHdxakNFA==","signatures":[{"sig":"MEQCIBsmekudapb807mVZcpEBrdCjEYhGkwTD2AOktVXI9xAAiBuT5pOFvvsK8p865JtnDSxRCw15jfq42utpn/LHB/9Zw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97105},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"5581a8c1d00d6cbac17f3034c2c8580119e7b518","scripts":{"lint":"eslint . --ext .ts","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"omills","email":"olivier@baobabtech.ai"},"repository":{"url":"git+https://github.com/baobab-tech/talentlms-js.git","type":"git"},"_npmVersion":"10.8.3","description":"A TypeScript/JavaScript wrapper for the TalentLMS API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"node-fetch":"^3.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.10.0","ts-jest":"^29.2.5","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.5.4","auto-changelog":"^2.4.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@typescript-eslint/parser":"^8.4.0","@typescript-eslint/eslint-plugin":"^8.4.0"},"_npmOperationalInternal":{"tmp":"tmp/talentlms-js_0.0.11_1725774563016_0.5076516004182237","host":"s3://npm-registry-packages"}},"0.0.12":{"name":"@baobabtech/talentlms-js","version":"0.0.12","keywords":["talentlms","api","wrapper","typescript"],"author":{"name":"Olivier Mills"},"license":"MIT","_id":"@baobabtech/talentlms-js@0.0.12","maintainers":[{"name":"omills","email":"olivier@baobabtech.ai"}],"homepage":"https://github.com/baobab-tech/talentlms-js#readme","bugs":{"url":"https://github.com/baobab-tech/talentlms-js/issues"},"dist":{"shasum":"9849601fa3ed14a6c7c45af62b69f4f21dccf567","tarball":"https://registry.npmjs.org/@baobabtech/talentlms-js/-/talentlms-js-0.0.12.tgz","fileCount":10,"integrity":"sha512-FPteoLQYO+iRm2q2Audi+VPD0VssOeZdnqCuPA9i9eYamSULZpRU65VwONVbw2YRld05Hq2Qy/1aY+mqMbttkg==","signatures":[{"sig":"MEUCIHdZ3mbOrhyoSfMRc5TDIiq7rQrwrQZbT84GdXB0srLhAiEA9mHcQAh7IM3sxbFylxvzAHZGhKzcpwIZgixixAAdYI0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97346},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"1878e9f00796ad380c40ea0852f9da706de9b4ac","scripts":{"lint":"eslint . --ext .ts","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"omills","email":"olivier@baobabtech.ai"},"repository":{"url":"git+https://github.com/baobab-tech/talentlms-js.git","type":"git"},"_npmVersion":"10.8.3","description":"A TypeScript/JavaScript wrapper for the TalentLMS API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"node-fetch":"^3.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.10.0","ts-jest":"^29.2.5","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.5.4","auto-changelog":"^2.4.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@typescript-eslint/parser":"^8.4.0","@typescript-eslint/eslint-plugin":"^8.4.0"},"_npmOperationalInternal":{"tmp":"tmp/talentlms-js_0.0.12_1725775371928_0.8644174746750573","host":"s3://npm-registry-packages"}},"0.0.13":{"name":"@baobabtech/talentlms-js","version":"0.0.13","keywords":["talentlms","api","wrapper","typescript"],"author":{"name":"Olivier Mills"},"license":"MIT","_id":"@baobabtech/talentlms-js@0.0.13","maintainers":[{"name":"omills","email":"olivier@baobabtech.ai"}],"homepage":"https://github.com/baobab-tech/talentlms-js#readme","bugs":{"url":"https://github.com/baobab-tech/talentlms-js/issues"},"dist":{"shasum":"b7f60fdf34121d5f77a3549bed50cfd90916c7cb","tarball":"https://registry.npmjs.org/@baobabtech/talentlms-js/-/talentlms-js-0.0.13.tgz","fileCount":10,"integrity":"sha512-IuvM16boq6mut5LTLll6Yz9/cP2/dpg9wd4+rNtIduQn6XGCyAKNtnIT8TQJdMfqv0ISLXxWB5G3h6o1czsQAg==","signatures":[{"sig":"MEUCIQDlW4b/ARq9h2SxoAkQQINgfQhsUWrFQdMWewl4XuSabAIgRr26RaxCKTg+ao5ghmmo1qS5LkmF/R6RxdHk5ZcupQU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97346},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"fc940b0a411307729f356a9d4e7342bd1b5e5595","scripts":{"lint":"eslint . --ext .ts","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"omills","email":"olivier@baobabtech.ai"},"repository":{"url":"git+https://github.com/baobab-tech/talentlms-js.git","type":"git"},"_npmVersion":"10.8.3","description":"A TypeScript/JavaScript wrapper for the TalentLMS API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"node-fetch":"^3.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.10.0","ts-jest":"^29.2.5","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.5.4","auto-changelog":"^2.4.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@typescript-eslint/parser":"^8.4.0","@typescript-eslint/eslint-plugin":"^8.4.0"},"_npmOperationalInternal":{"tmp":"tmp/talentlms-js_0.0.13_1725775854842_0.6031078503809058","host":"s3://npm-registry-packages"}},"0.0.14":{"name":"@baobabtech/talentlms-js","version":"0.0.14","keywords":["talentlms","api","wrapper","typescript"],"author":{"name":"Olivier Mills"},"license":"MIT","_id":"@baobabtech/talentlms-js@0.0.14","maintainers":[{"name":"omills","email":"olivier@baobabtech.ai"}],"homepage":"https://github.com/baobab-tech/talentlms-js#readme","bugs":{"url":"https://github.com/baobab-tech/talentlms-js/issues"},"dist":{"shasum":"10e030834027ec84e9b4efc11f300eb769840c95","tarball":"https://registry.npmjs.org/@baobabtech/talentlms-js/-/talentlms-js-0.0.14.tgz","fileCount":10,"integrity":"sha512-rx21Iix4kDr+bvOCQ4Rr1p4u1gXk98lPHW4vS50364utegRULG4TljVR7lMsIbvkDE8+/TUKW3rQxKC/+K2NMQ==","signatures":[{"sig":"MEYCIQCXriHiUmu6XPi8YudPxL1/VZsQLKSMykUfeKNKeHK5YgIhAL8f0Xby9f0lSuPZqmex4h0PQxFZKmF4G3joWJbZSCBJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97297},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"e7e180091a032e669c3f04ed32546428534ab020","scripts":{"lint":"eslint . --ext .ts","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"omills","email":"olivier@baobabtech.ai"},"repository":{"url":"git+https://github.com/baobab-tech/talentlms-js.git","type":"git"},"_npmVersion":"10.8.3","description":"A TypeScript/JavaScript wrapper for the TalentLMS API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"node-fetch":"^3.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.10.0","ts-jest":"^29.2.5","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.5.4","auto-changelog":"^2.4.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@typescript-eslint/parser":"^8.4.0","@typescript-eslint/eslint-plugin":"^8.4.0"},"_npmOperationalInternal":{"tmp":"tmp/talentlms-js_0.0.14_1725775951592_0.2956661900182427","host":"s3://npm-registry-packages"}},"0.0.15":{"name":"@baobabtech/talentlms-js","version":"0.0.15","description":"A TypeScript/JavaScript wrapper for the TalentLMS API","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"tsc","prepare":"npm run build","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","lint":"eslint . --ext .ts"},"keywords":["talentlms","api","wrapper","typescript"],"author":{"name":"Olivier Mills"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/baobab-tech/talentlms-js.git"},"bugs":{"url":"https://github.com/baobab-tech/talentlms-js/issues"},"homepage":"https://github.com/baobab-tech/talentlms-js#readme","publishConfig":{"access":"public"},"devDependencies":{"@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@types/jest":"^29.5.12","@types/node":"^22.5.4","@typescript-eslint/eslint-plugin":"^8.4.0","@typescript-eslint/parser":"^8.4.0","auto-changelog":"^2.4.0","eslint":"^9.10.0","jest":"^29.7.0","ts-jest":"^29.2.5","typescript":"^5.5.4"},"dependencies":{"node-fetch":"^3.3.2"},"engines":{"node":">=20.0.0"},"_id":"@baobabtech/talentlms-js@0.0.15","gitHead":"fea9420dfac88459958f2c8ab16e820b72138339","_nodeVersion":"20.17.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-AfELohFxy1xMh0hm7xrVFN42RBlBmxePc/QDu/9ZrycektzI/0VW1PXvyAWwLbHUGslVkmB7eMxnIrrtPVe/nA==","shasum":"7b3845ff26bf8db1e9cfdd4e11cbe83d0abb1cbf","tarball":"https://registry.npmjs.org/@baobabtech/talentlms-js/-/talentlms-js-0.0.15.tgz","fileCount":10,"unpackedSize":97721,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVxm4cWlsjbQic9FhXzi+YAzcZsmx3C0oCyVqTUSAA+AIgF3rhL7//frxCJwlH0Fyn2erRjMjmvKOED2U0nsH5+fI="}]},"_npmUser":{"name":"omills","email":"olivier@baobabtech.ai"},"directories":{},"maintainers":[{"name":"omills","email":"olivier@baobabtech.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talentlms-js_0.0.15_1725776973154_0.7423141562146038"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-08T05:42:17.684Z","modified":"2024-09-08T06:29:33.503Z","0.0.10":"2024-09-08T05:42:17.957Z","0.0.11":"2024-09-08T05:49:23.221Z","0.0.12":"2024-09-08T06:02:52.118Z","0.0.13":"2024-09-08T06:10:55.045Z","0.0.14":"2024-09-08T06:12:31.724Z","0.0.15":"2024-09-08T06:29:33.325Z"},"bugs":{"url":"https://github.com/baobab-tech/talentlms-js/issues"},"author":{"name":"Olivier Mills"},"license":"MIT","homepage":"https://github.com/baobab-tech/talentlms-js#readme","keywords":["talentlms","api","wrapper","typescript"],"repository":{"type":"git","url":"git+https://github.com/baobab-tech/talentlms-js.git"},"description":"A TypeScript/JavaScript wrapper for the TalentLMS API","maintainers":[{"name":"omills","email":"olivier@baobabtech.ai"}],"readme":"# TalentLMS API Wrapper\n\nA TypeScript/JavaScript wrapper for the TalentLMS API, making it easy to interact with TalentLMS from your Node.js applications.\n\n**Important Note:**\nThis wrapper is for https://www.talentlms.com/\nWe have no affiliation with TalentLMS; we built this TypeScript version to help us support our clients.\nFor any questions about the TalentLMS API, please check their support resources.\n\n[![npm version](https://badge.fury.io/js/talentlms-js.svg)](https://badge.fury.io/js/talentlms-js)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)\n\n## Installation\n\n```bash\nnpm install talentlms-js\n```\n\n## Usage\n\nConfigure the TalentLms API wrapper with your API key and domain:\n\n```typescript\nimport TalentLms from 'talentlms-js';\n\nconst talentlms = new TalentLms({\n  apiKey: 'your_api_key', // as provided by TalentLMS\n  subdomain: 'your_subdomain', // the subdomain part of your TalentLMS instance e.g. if your instance is at https://company.talentlms.com, then your subdomain is \"company\"\n  // alternatively you can pass in the entire domain as a string e.g. \"https://company.talentlms.com\"\n  domain: 'company.talentlms.com'\n});\n```\n\n```typescript\nasync function example() {\n  const users = await api.getAllUsers();\n  console.log(users);\n\n  const course = await api.getCourseByCode('COURSE001');\n  console.log(course);\n\n  const usersByPhone = await api.getUserByPhone('1234567890');\n  console.log(usersByPhone);\n}\nexample().catch(console.error);\n```\n","readmeFilename":"README.md"}