npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@wya/assist-vm

v1.0.18

Published

``` npm install @wya/vue-cli -g ``` - `npm run dev`

Downloads

3

Readme

Playgroud

npm install @wya/vue-cli -g
  • npm run dev

注意

  • 目前 Portal 只能单独用 js 包裹一层
  • @wya/sass 编译上 rollup 和 webpack 存在差异, 暂时不使用
  • vc的包只能这么引入: import Portal from '@wya/vc/lib/portal';

Sortable模块

用法

import { createVMDrags } from '@wya/vm';
import { Sorts } from '@wya/assist-vm';

const Modules = {
	...Sorts.modules, 
	// custom
};
let { Combo, Preview } = createVMDrags(Modules, { mode: 'sortable' });

Sorts 参数说明

名称 | 说明 | 开发 | 计划 ---|---|---|--- keys | 所有模块的key | 1 | - origins | 原始模块 | 1 | - modules | 默认模块 | 1 | - getModules | 可配置的Modules | 1 | -

默认模块

  • Sorts.keys

名称 | 说明 | 开发 | 计划 ---|---|---|--- page | 页面设置 | 1 | - rtf | 富文本 | 1 | - space | 辅助空白 | 1 | - cutoff | 分割线 | 1 | -

Draggable模块

暂无

公共模块

Viewer

components

  • 用法
import { Viewer } from '@wya/assist-vm';

export default {
	components: {
		'vm-viewer-layout': Viewer.Layout
	}
};
  • Layout

名称 | 说明 | 默认值 | 其他 ---|---|---|--- inner | 是否为内填充方式 | false | -

mixins

  • 用法
import { Viewer } from '@wya/assist-vm';

export default {
	// 前者无参数的写法,后者带参数的写法
	mixins: [Viewer.mixins(['layout-style', { name: 'rebuild-index', prefix: 'q-' }])],
	components: {
		'vm-viewer-layout': Viewer.Layout
	}
};
  • layout-style

在不使用View.Layout时,使用此项可快捷自定义, 参数: layoutStyle.wrapperlayoutStyle.content

  • rebuild-index

用于处理同一分类下index重新排序,默认值 prefix: 'q-', 参数: rebuildIndex

Editor

components

  • 用法
import { Editor } from '@wya/assist-vm';

export default {
	components: {
		'vm-editor-layout': Editor.Layout,
		'vm-editor-slider': Editor.Slider,
		'vm-editor-add': Editor.Add,
		'vm-editor-cell': Editor.Cell,
		// ...
	}
};

名称 | 说明 | 默认值 | 其他 ---|---|---|--- title | 标题 | '' | -

项目移植而来,可能有些不完善,及时PR