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

gdml

v0.3.5

Published

GDML(Graphic Design Markup Language) is designed for more effective to change graphic design into code, even automatic.

Downloads

1

Readme

GDML

GDML(Graphic Design Markup Language) is designed for more effective to change graphic design into code, even automatic.

Plan

  1. Step1: Developer is easy to change design to code
    1. auto layout markup
  2. Step2: Transform new design to code automatically
  3. Step3: Transform design changges to code automatically (hard work)

Feature

  1. 设计角度
    1. Tokens(颜色、长度)
    2. Theme Tokens(主题的 Tokens)
    3. Animation
    4. 图形元素
      1. Vector graphics(svg、font)
      2. bitmap(jpeg、png、gif、webp)
      3. video
    5. layout
      1. auto layout
        1. stack
        2. grid
        3. inline
        4. text
      2. absolute layout
      3. floating layer
    6. 组件
  2. 客户端开发角度
    1. 前端
      1. css + html
      2. tailwindcss + html:把 css 语法抽象为 class name 缩写
      3. JSX + css
      4. Vue + css
    2. Android
      1. LinearLayout
      2. Flexbox
    3. iOS
      1. SwiftUI Stack
      2. Flexbox

Install For Web

npm install aml
yarn install aml

Install For Android

npm install aml
yarn install aml

Install For iOS Swift

npm install aml
yarn install aml

Features

see docs

  1. 布局容器
    1. view: use, layout(row,col,inline,), align-items(justify, start, end, center), place-items, span(number, stretch)
      1. 行内溢出滚动(待完成)
      2. 行内溢出可见(待完成)
    2. layer: mask, z-index
    3. float: position, z-index, use, layout, align-items
    4. text: align-items, break-line(word,white-space), max-line, crop
    5. component: name
    6. token: name, value, type(number,string,condition,unit)
  2. media query,多尺寸适配(同比例放大)
  3. Design Token 支持
    1. color
    2. size unit
  4. UI 组件
  5. 主题

Release Notes

  • 2021-12-22 0.1.6: fix cloumn layout aling-items bug

Development

Available Scripts

In the project directory, you can run:

Start Development

yarn start

DXML package Build

yarn build-pkg

Doc build

yarn build