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

manku-icon-lib

v1.1.5

Published

Icon library

Downloads

25

Readme

icon-library

Icon library for use in LDaCA projects

List of Current Icon Names

  • public
  • login
  • loginplus
  • writtenlanguage
  • spokenlanguage
  • signedlanguage
  • conformsto
  • binderlink

How to Use

  1. Ensure you have NPM installed
  2. Navigate to your project root
  3. Run npm i manku-icon-lib
  4. Use the icons as you would any svg, controlling the size using the width and height attributes and the color with the fill attribute.

Using the Icon Library within a Vue Project

You can view a Vue Example for an example of Vue project implementation.

  1. Navigate to the root of your Vue project
  2. Install the vite svg loader npm i vite-svg-loader and follow the Setup process
  3. Within your vue project, navigate to your assets folder
  4. Install the icon library by running npm i manku-icon-lib in the terminal.
  5. Add an import statement at the top of your .vue file, import { MankuIcon } from 'manku-icon-lib';
  6. Create a MankuIcon component with a name property that equals the icons filename and add properties size to control the size and color to control the color e.g. <MankuIcon name="Login" size="200" color="blue"/>.

Example

Vue Project Implementation Use Example Vue Code Example Implementation

Manipulating the icons within a Vue Project

  • The styling of the icons can be changed either in a css class that can be applied to the Vue component or the styling can be directly applied to the vue component.
  • The color of an icon can be changed using color: ; e.g. color: red;
  • By default an icons will fill it's container, the size of an icon can be changed by using width: ; and height: ; values, e.g. width: 100px;

Adding an icon to the package

  1. Clone the repository
  2. Add icon to the repository lib\assets\icons\
  3. Request to merge the new icon into the repository

How to Update the Package

  1. Navigate to the root directory
  2. Increase the "version" in package.json
  3. Add changes to git, commit, pull and push to main
  4. Run npm run build
  5. Run npm publish

Example App

To use the example app

npm run build
cd example-app-using-manku
npm install
npm run dev