New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

iconfont-upload

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iconfont-upload

#### Iconfont-upload 是一个可以将iconfont字体库 同步到阿里云oss的工具库

latest
npmnpm
Version
1.0.17
Version published
Maintainers
1
Created
Source

介绍

Iconfont-upload 是一个可以将iconfont字体库 同步到阿里云oss的工具库

提示

暂时只支持阿里云oss 暂不支持七牛云 腾讯云oss 等等

安装
npm i iconfont-upload --save
使用
const iconfont = require('iconfont-upload').default
const iconserver=new iconfont({
	accessKeyId: '阿里云accessID',
    accessKeySecret: '阿里云accessKey',
    iconfontAccount: 'iconfont账号',
    iconfontPassword: 'iconfont 密码',
    bucketRegion: 'oss bucket 地区 如:oss-cn-hangzhou',
    bucket: 'bucket名称',
    bucketPath: 'bucket 路径',
    localcsspath: '本地需要动态修改的css路径',
    projectId: 'iconfont projectid',
    osshttpurl:'oss外网访问域名'
})
iconserver.start()
方法说明

关于accessKeyId,accessKeySecret,iconfontAccount,iconfontPassword 敏感性数据采用aes128加密 工具库默认导出encryptData方法用于数据加密 传输参数必须为加密后的内容的 否则无法成功解析

如:

iconserver.encryptData('2423423423423')

FAQs

Package last updated on 06 Jun 2023

Did you know?

Socket

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.

Install

Related posts