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

@kavehrafie/iranian-art-dataset

v1.0.0

Published

Curated collection of Iranian modern art images with metadata

Readme

Iranian Modern Art Dataset

A curated collection of Iranian modern art images with comprehensive metadata, perfect for educational presentations, art history research, and cultural projects.

Installation

npm install @kavehrafie/iranian-art-dataset

Usage

Basic Usage

import iranianArt from '@kavehrafie/iranian-art-dataset';
import { DatasetManager } from '@kavehrafie/image-dataset-manager';

const artCollection = new DatasetManager(iranianArt);

// Get a specific artwork
const ziapourWork = artCollection.getImage('ziapour_khorus_jangi');
console.log(ziapourWork.caption); // "Jalil Ziapour, Khorus Jangi magazine cover, 1949"

// Get optimized image for presentations
const heroImage = artCollection.getSlideImage('ziapour_khorus_jangi', 'hero');

Advanced Usage

import { 
  iranianArtDataset, 
  getArtistWorks, 
  getWorksByDecade, 
  artists 
} from '@kavehrafie/iranian-art-dataset';

// Get all works by Jalil Ziapour
const ziapourWorks = getArtistWorks('Ziapour');

// Get all artworks from the 1940s
const fortiesArt = getWorksByDecade('1940');

// List all available artists
console.log(artists);
// ['Jalil Ziāpour', 'Pablo Picasso', 'Hūshang Pezeshkniya', ...]

In Slidev Presentations

<script setup>
import { DatasetManager } from '@kavehrafie/image-dataset-manager'
import iranianArt from '@kavehrafie/iranian-art-dataset'

const images = new DatasetManager(iranianArt)
</script>

<template>
  <div class="slide-content">
    <h1>Iranian Modern Art</h1>
    
    <!-- Hero image -->
    <img 
      :src="images.getSlideImage('ziapour_khorus_jangi', 'hero')" 
      alt="Ziapour Khorus Jangi"
    />
    
    <!-- Gallery of 1940s works -->
    <div class="gallery">
      <img 
        v-for="artwork in images.searchImages('1940', { limit: 4 })"
        :key="artwork.id"
        :src="images.getSlideImage(artwork.id, 'thumbnail')"
        :alt="artwork.caption"
      />
    </div>
  </div>
</template>

Dataset Contents

This collection includes:

  • 10 curated artworks from Iranian modern art movement
  • Comprehensive metadata including artist, year, medium, dimensions
  • High-quality images hosted on Cloudinary with optimization support
  • Detailed captions with proper attribution
  • Categorized tags for easy filtering

Featured Artists

  • Jalil Ziāpour (1920-1999) - Pioneer of modern Iranian painting
  • Hūshang Pezeshkniya - Contemporary Iranian artist
  • Manouchehr Sheybānī - Modern Iranian painter
  • Pablo Picasso - Reference works for comparative study

Time Periods

  • 1940s - Early modern Iranian art movement
  • 1950s - Development of Iranian modernism
  • 1960s-1970s - Mature period of Iranian modern art

Schema

Each artwork entry includes:

{
  "src": "https://cloudinary-url",
  "caption": "Artist Name, Title, Year, Medium, Dimensions, Collection",
  "metadata": {
    "artist": "Artist Name",
    "year": 1949,
    "medium": "oil on canvas",
    "dimensions": "80cm x 120cm",
    "collection": "Museum/Collection"
  },
  "tags": ["tag1", "tag2", "period", "style"]
}

License

MIT License - Cultural and educational use encouraged

Contributing

This dataset is part of ongoing research into Iranian modern art. Contributions, corrections, and additions are welcome.

Related Packages