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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@acailic/vizualni-admin

v0.1.0-beta.1

Published

Serbian Open Data Visualization Tool - A powerful library for creating interactive data visualizations

Readme

@acailic/vizualni-admin

Serbian Open Data Visualization Tool - Beta Release

npm version License

About

This is a beta release of the @acailic/vizualni-admin package, based on the visualize-admin/visualization-tool. The package provides utilities and types for working with Serbian open data visualizations, with support for both Cyrillic and Latin scripts.

Installation

npm install @acailic/vizualni-admin

Or using yarn:

yarn add @acailic/vizualni-admin

What's Included

This beta release provides the following standalone utilities:

Locale Utilities

  • defaultLocale - Default application locale
  • locales - Array of supported locales
  • parseLocaleString() - Parse locale strings

TypeScript Types

  • Complete configuration types for chart configs
  • Type-safe interfaces for data visualization

I18n Support

  • Re-exported I18nProvider from @lingui/react

Usage

Basic Example

import { defaultLocale, locales, parseLocaleString } from '@acailic/vizualni-admin';

// Get default locale
console.log(defaultLocale); // 'sr-Latn'

// Get all supported locales
console.log(locales); // ['sr-Latn', 'sr-Cyrl', 'en']

// Parse a locale string
const userLocale = parseLocaleString('sr-Cyrl');
console.log(userLocale); // 'sr-Cyrl'

// Parse with fallback to default
const unknownLocale = parseLocaleString('de');
console.log(unknownLocale); // 'sr-Latn' (falls back to default)

TypeScript Support

The package includes full TypeScript declarations:

import type { Locale } from '@acailic/vizualni-admin';

// Locale is a union type: "sr-Latn" | "sr-Cyrl" | "en"
const myLocale: Locale = 'sr-Latn';

With React

import { I18nProvider } from '@acailic/vizualni-admin';
import { i18n } from '@lingui/core';

function App() {
  return (
    <I18nProvider i18n={i18n}>
      {/* Your app content */}
    </I18nProvider>
  );
}

What's NOT Included (Yet)

This is a minimal beta release focusing on core utilities. The following features are planned for future releases:

  • Configurator components
  • Chart components
  • Full Next.js application components
  • CLI tools
  • Additional utilities

These components will be refactored for standalone usage in upcoming releases.

Supported Locales

The package supports three locales:

  • sr-Latn (Serbian Latin) - Default
  • sr-Cyrl (Serbian Cyrillic)
  • en (English)

Requirements

Peer Dependencies

{
  "@babel/runtime": "^7.8.4",
  "next": "^13.0.0",
  "react": "^18.2.0",
  "react-dom": "^18.2.0"
}

External Dependencies

The following are marked as external and should be installed separately if needed:

  • @lingui/react
  • @lingui/core
  • d3-format
  • d3-time-format
  • make-plural
  • fp-ts
  • io-ts

Module Formats

The package is published in multiple formats for maximum compatibility:

  • CommonJS (dist/index.js) - For Node.js
  • ES Modules (dist/index.mjs) - For modern bundlers
  • TypeScript (dist/index.d.ts) - Type declarations

Contributing

Contributions are welcome! Please see the main repository for contribution guidelines.

Related Projects

License

BSD-3-Clause - See LICENSE for details.

Repository

https://github.com/acailic/vizualni-admin

Issues

Report bugs and request features at: https://github.com/acailic/vizualni-admin/issues

Changelog

See CHANGELOG.md for release history.