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

vue-minder

v1.0.0

Published

Vue Kityminder

Downloads

32

Readme

Vue Minder

本组件主要内聚百度脑图的能力,使脑图可以便于在Vue生态下进行扩展。 DEMO地址


Vue Minder 基于百度脑图核心代码kityminder-core,主要满足在Vue项目中开发和使用。感谢FEX Team

安装

yarn add vue-minder
npm install vue-minder

使用

<minder
  :show-search-box="showSearchBox"
  :show-template="showTemplate" 
  :show-theme="showTheme"  
  :show-navigator="showNavigator" 
  :enable="enable" :style="style" 
  :import-data="importData" 
  v-ref:minder>
</minder>

props说明

  • show-search-box 是否显示搜索框
  • show-template 是否显示模板
  • show-theme 是否显示主题
  • show-navigator 是否显示导航器
  • enable 禁用或编辑模式
  • import-data 导入的数据

具体使用可参考

与百度脑图不同之处

  • 数据中的字段 text 改为 name

开发和贡献

目前主要用于vue1.0项目中,感兴趣可升级为2.0版本,甚至以后3.0版本

版本规范

分支规范

  • master 为 vue1.0版本
  • 2.x 为 vue2.x版本
  • 3.x 为 vue3.x版本

npm包规范

  • 2.x 为vue2.x版本

文件说明

├── __test__  测试dist包运行
├── assets 资源文件
├── build build脚本
├── dist 生产环境目录
├── docs 预览demo目录
├── examples 预览demo源码,便于本地开发
├── src 核心源代码