Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
haoycn-library
Advanced tools
用于获取小型通用文件夹内的文件地址索引。
将文件夹放在此模块的 ./library
文件夹中(即同本文档同目录下),使用时候只需以文件夹名称为参数实例化一个类,通过一些方法快速访问这些文件夹内的文件地址。
###lib.all()###
返回文件夹内所有文件的绝对地址数组。
###lib.get(param1[, param2]*)###
支持多参数。参数一般来说为文件名即可,不需要写出很长的相对路径,系统将自动匹配。
返回一个数组,数组包含了文件的绝对地址。
###lib.use(name)###
参数 name
是 js 文件名称,将返回该 js 模块的结果。
###lib.cwd()###
返回文件夹绝对路径。
FAQs
store and require tiny modules
The npm package haoycn-library receives a total of 0 weekly downloads. As such, haoycn-library popularity was classified as not popular.
We found that haoycn-library demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
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.