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

@finan/fe-reports

v1.3.10

Published

```bash npm run minor # 1.0.0 -> 1.1.0 npm run patch # 1.0.0 -> 1.0.1 ```

Downloads

109

Readme

1. Publish the project

npm run minor # 1.0.0 -> 1.1.0
npm run patch # 1.0.0 -> 1.0.1

2. Use this package in the other project:

yarn add js-base64 numeral nunjucks qrcode bwip-js
yarn add @finan/fe-reports@latest
yarn add github:dragonnpoulp/bwip-js # patch for react-native
const render = require("@finan/fe-reports").default;
// import render from "@finan/fe-reports"

render("Bill", {
  bussiness: {
    name: "Bếp nhà - Thực phẩm handmade",
    address: "1/1b Khu phố 2, phường Tân Thới Nhất, quận 12, Tp.HCM",
    phone_number: "+84903219921",
    domain: "https://bepnha.sieure",
    avatar:
      "https://scontent.fsgn5-10.fna.fbcdn.net/v/t1.6435-9/198218119_347706013544026_3377113891238894001_n.jpg?_nc_cat=107&ccb=1-6&_nc_sid=09cbfe&_nc_ohc=fSg4t_7wJFgAX-UGAN5&_nc_ht=scontent.fsgn5-10.fna&oh=00_AT9D1cd02ZwHhbqO4B90d-srFJBiMSEFoVoSlcGLHwR5EA&oe=62A094A0",
  },
  paymentInfo: [],
  order: {
    id: "eaaddaaf-fd04-47fa-bfc5-9310178f4024",
    order_number: "XDGBKN",
    is_printed: false,
    is_debit: false,
    amount_paid: 3_000_000,
    debt_amount: 2_095_800,
    delivery_fee: 10_000,
    other_discount: 5_000,
    grand_total: 3_080_000,
    ordered_grand_total: 3_095_800,
    buyer_info: {
      name: "Hiếu lầu 6",
      phone_number: "0912345234",
      address: "195 Điện Biên Phủ, phường 25, Bình Thạnh, TP.HCM",
    },
    note: "Giao lúc 5h chiều",
    order_item: [
      {
        id: "fd944f19-3259-4340-a19a-33ddb9cfc655",
        product_name: "Túi đeo chéo nữ nắp gập Tweed Two Tone",
        product_normal_price: 1_590_000,
        product_selling_price: 790_000,
        quantity: 1,
        total_amount: 790_000,
      },
      {
        id: "1441bac8-19b5-4772-8fb5-454a4a17dcc4",
        product_name: "Túi đeo vai chữ nhật vải bố New Rico Mini",
        product_normal_price: 2_290_000,
        product_selling_price: 2_290_000,
        quantity: 1,
        total_amount: 2_290_000,
      },
      {
        id: "43bcfd74-9e08-473b-a3a1-4b22e0c2b938",
        product_name: "Dây chun buộc tóc (tặng kèm)",
        product_normal_price: 0,
        product_selling_price: 0,
        quantity: 3,
        total_amount: 0,
      },
    ],
  },
  configs: {
    address_type: true,
    amount_paid: true,
    avatar: true,
    bank_account: true,
    business_id: "",
    created_at: "",
    creator_id: "",
    debt_amount: false,
    font_size: "default",
    footer: "",
    id: "",
    logo_sbh: true,
    name_buyer: true,
    name_seller: true,
    note: "Giao lúc 5h nah",
    note_buyer: true,
    other_discount: true,
    phone_buyer: true,
    qr_code: true,
    phone_seller: "0903219921",
    address_buyer: true,
    title: "Hóa đơn bán hàng",
    updated_at: "",
    updater_id: "",
    vat: 8,
  },
});