
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@hokdo/core
Advanced tools
将获客多 SDK 嵌入网页源码,更懂你的客户。
有关 SDK 使用最新内容请参考:获客多 - 文档中心
在入口 html 中引入 SDK 文件(包含 JS 与 CSS,其中 CSS 文件的引入是必要的)
<link rel="stylesheet" href="https://static.hokdo.com/hokdo-sdk.css" />
<script src="https://static.hokdo.com/hokdo-sdk.js"></script>
npm i @hokdo/core -S
import Hokdo from '@hokdo/core';
import '@hokdo/core/hokdo-sdk.css';
在希望程序开始运行的阶段执行 init 函数:
Hokdo.init('<token>')
通过 userInfo 属性将用户名等信息传入:
Hokdo.init('<token>', {
userInfo: {
name: '<user-name>',
image: '<user-avatar-url>'
}
})
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>获客多 Hokdo | 客户成功的作战平台</title>
+ <link rel="stylesheet" href="https://static.hokdo.com/hokdo-sdk.css" />
</head>
<body>
<div id="app"></div>
+ <script src="https://static.hokdo.com/hokdo-sdk.js"></script>
+ <script>
+ Hokdo.init("6754f14eed9fccdc618758c24a45cd41", {
+ userInfo: {
+ name: 'SampleName',
+ image: 'sample.jpeg'
+ }
+ })
+ </script>
</body>
</html>
FAQs
Hokdo Core SDK
The npm package @hokdo/core receives a total of 20 weekly downloads. As such, @hokdo/core popularity was classified as not popular.
We found that @hokdo/core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.