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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@buzzvil/buzz-flex-ad

v0.2.2

Published

BuzzFlexAd Web SDK 로더 — React/Vue/Nuxt/Next에서 FlexAd를 연동합니다. 실제 SDK는 Buzzvil CDN에서 런타임에 로드합니다.

Readme

@buzzvil/buzz-flex-ad

FlexAd를 웹에서 불러오는 로더입니다. 실제 SDK 번들은 Buzzvil CDN에서 런타임에 받아오고, 이 패키지에는 그 번들을 불러오는 얇은 로더와 타입만 들어 있습니다. @stripe/stripe-jsloadStripe와 같은 방식이라, 패키지를 자주 올리지 않아도 늘 최신 SDK가 적용됩니다.

React·Vue·Nuxt·Next 등 번들러를 쓰는 프로젝트에서 씁니다.

설치

npm i @buzzvil/buzz-flex-ad

사용

loadBuzzFlexAd()로 SDK를 불러온 뒤 initrender 순으로 호출합니다. 서버(SSR)에서는 null을 돌려주니, 반환값이 있을 때만 인스턴스를 쓰면 됩니다.

import { loadBuzzFlexAd } from "@buzzvil/buzz-flex-ad";

const flexAd = await loadBuzzFlexAd();
if (flexAd) {
  await flexAd.init({ appId, publisherUserId, unitId });
  flexAd.render("#flex-ad-container");
}

Next·Nuxt처럼 SSR이 있는 환경에서는 useEffect·onMounted처럼 클라이언트에서만 도는 곳에서 호출하세요.

버전 고정

옵션 없이 부르면 늘 최신 SDK가 적용됩니다. 검증한 버전에 고정해 반영 시점을 직접 정하고 싶으면 version을 넘기면 됩니다.

await loadBuzzFlexAd({ version: "1.0.32" });

version은 이 npm 패키지 버전이 아니라 SDK 번들 버전입니다. 어떤 값을 넣을지는 Buzzvil에서 안내받으세요.

폐쇄망·엄격한 CSP

CDN에 접근할 수 없는 환경이면, 단독으로 동작하는 SDK 번들을 직접 호스팅하고 그 URL을 넘기면 됩니다.

await loadBuzzFlexAd({ scriptUrl: "https://your-host/buzzbenefit-flex-ad.js" });