trapi-sdk-javascript::electric_plug:官方JavaScript SDK,用于使用Strapi构建的API-源码

上传者: 42114580 | 上传时间: 2021-02-01 14:36:11 | 文件大小: 103KB | 文件类型: ZIP
:warning_selector: 该软件包不是最新的并已维护 :warning_selector: 我们建议您不要使用此程序包。 我们由于时间紧缺而停止维护它,也因为此SDK提供的功能与配置良好的HTTP客户端相同。 因此,我建议您使用最佳HTTP客户端来使用所使用的技术。 对其进行配置以针对您的Strapi API。 这里非常有用的资源可为您提供帮助: 用于JavaScript的官方Strapi SDK,可用于浏览器或Node.js后端。 安装 npm install strapi-sdk-javascript 现在开始 新实例 import Strapi from 'strapi-sdk-javascript' ; const strapi = new Strapi ( 'http://localhost:1337' ) ; 认证方式 本地 await strapi . login ( 'username_or_email' , 's3cr3t' ) ; // Redirect your user to the provider's authentication page.

文件下载

资源详情

[{"title":"( 25 个子文件 103KB ) trapi-sdk-javascript::electric_plug:官方JavaScript SDK,用于使用Strapi构建的API-源码","children":[{"title":"strapi-sdk-javascript-master","children":[{"title":".gitignore <span style='color:#111;'> 72B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"tslint.json <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 362.76KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"types","children":[{"title":"browser-env.d.ts <span style='color:#111;'> 30B </span>","children":null,"spread":false}],"spread":true},{"title":"index.ts <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"sdk.spec.ts <span style='color:#111;'> 11.88KB </span>","children":null,"spread":false},{"title":"sdk.ts <span style='color:#111;'> 9.76KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".travis.yml <span style='color:#111;'> 217B </span>","children":null,"spread":false},{"title":"CODE_OF_CONDUCT.md <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"tsconfig.module.json <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"PULL_REQUEST_TEMPLATE.md <span style='color:#111;'> 261B </span>","children":null,"spread":false},{"title":"ISSUE_TEMPLATE.md <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"ISSUE_TEMPLATE","children":[{"title":"Feature_request.md <span style='color:#111;'> 577B </span>","children":null,"spread":false},{"title":"Bug_report.md <span style='color:#111;'> 887B </span>","children":null,"spread":false}],"spread":false},{"title":"CONTRIBUTING.md <span style='color:#111;'> 257B </span>","children":null,"spread":false}],"spread":true},{"title":".prettierignore <span style='color:#111;'> 82B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 4.01KB </span>","children":null,"spread":false},{"title":".vscode","children":[{"title":"settings.json <span style='color:#111;'> 162B </span>","children":null,"spread":false},{"title":"launch.json <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false}],"spread":false},{"title":".npmignore <span style='color:#111;'> 142B </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 193B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明