Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@zhajizhaji/meteo-hooks
Advanced tools
This library was generated with Nx.
全局安装以下两个包吧,方便点 npm install -g typedoc serve
typedoc --tsconfig tsconfig-doc.json
serve docs
import { DemoPage, setMeteoConfig, useStationInfos } from "@zhajizhaji/meteo-hooks";
import { useEffect } from 'react'
const appKey = 'xxx';
const appSecret = 'xxx';
setMeteoConfig({
host: "http://xxxx",
appKey,
appSecret
})
const adminCodes = ["330000"];
export default function Meteo() {
const { data, loading, fetchData } = useStationInfos();
// 使用 onInitialize 钩子,在组件初始化时触发加载数据
useEffect(() => {
if (data === null && !loading) {
fetchData(adminCodes);
}
}, [loading, data, fetchData]);
return <div className="">
<DemoPage />
</div>
}
FAQs
This library was generated with [Nx](https://nx.dev).
The npm package @zhajizhaji/meteo-hooks receives a total of 3 weekly downloads. As such, @zhajizhaji/meteo-hooks popularity was classified as not popular.
We found that @zhajizhaji/meteo-hooks demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.