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

@smartway.italia/automatic-cash-vne

v1.1.15

Published

A typescript module of api for VNE Automatic Cash communication protocol.

Downloads

56

Readme

VNE自动收款机

命令列表

| tipo | Desc | | --- | --- | | 1 | 请求付款收据 | | 2 | 轮询请求付款收据的结果 | | 3 | 取消待处理的收据 | | 5 | 请求待处理收据列表 | 10 | 请求操作员提款 | | 11 | 轮询请求操作员提款结果 | | 12 | 结束操作员提款操作 | | 20 | 自动收款机状态 | | 30 | 开始补充 | | 31 | 结束补充 | | 32 | 手动补充 | | 33 | 补充轮询 | | 40 | 操作员登录 | | 41 | 操作员注销 | | 50 | 清空回收箱 | | 51 | 清空循环器 | | 52 | 清空堆栈器内容 | | 53 | 轮询清空操作状态 | | 54 | 清空硬币分配器 | | 55 | 开门 | | 60 | 现金结账 | | 65 | 退款 | | 66 | 退款状态轮询 | | 70 | 已完成的提款列表 | | 71 | 已完成的支付列表 | | 72 | 开启列表 | | 73 | 现金结账清单 | | 80 | 进入配置菜单 | | 81 | 重新启动/关闭 | | 82 | 收款机版本 | | 90 | 外围设备配置 | | 91 | 软件配置 | | 92 | 现金储备设置 | | 93 | 恢复结束 |

使用

const vne = new VNE('192.168.3.111');
<!-- 发送5欧元付款请求 -->
const response = await vne.sendRequest({
    tipo:1,
    importo: 500,
    opName: 'admin',
    refundable: 1,
    credit_card: 0
});

注意

  • Node环境用v1.1.14
  • React native 用最新版本