Giter Club home page Giter Club logo

r0mankon / lib-unifonts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beizhedenglong/weird-fonts

3.0 0.0 0.0 1.53 MB

𝑨 π‘±π’‚π’—π’‚π‘Ίπ’„π’“π’Šπ’‘π’• π’‘π’‚π’„π’Œπ’‚π’ˆπ’† 𝒕𝒉𝒂𝒕 𝒕𝒖𝒓𝒏 π’‚π’π’‘π’‰π’‚π’π’–π’Žπ’†π’“π’Šπ’„ 𝒄𝒉𝒂𝒓𝒂𝒄𝒕𝒆𝒓𝒔 π’Šπ’π’•π’ π’˜π’†π’Šπ’“π’… 𝒇𝒐𝒏𝒕 π’”π’•π’šπ’π’†.

Home Page: https://www.npmjs.com/package/lib-unifonts

License: MIT License

JavaScript 5.14% TypeScript 93.95% HTML 0.91%

lib-unifonts's Introduction

π–šπ–“π–Žπ•±π–”π–“π–™π–˜

𝑨 π‘±π’‚π’—π’‚π‘Ίπ’„π’“π’Šπ’‘π’• π’‘π’‚π’„π’Œπ’‚π’ˆπ’† 𝒕𝒉𝒂𝒕 𝒕𝒖𝒓𝒏 π’‚π’π’‘π’‰π’‚π’π’–π’Žπ’†π’“π’Šπ’„ 𝒄𝒉𝒂𝒓𝒂𝒄𝒕𝒆𝒓𝒔 π’Šπ’π’•π’ π’–π’π’Šπ’—π’†π’“π’”π’‚π’ π’˜π’†π’Šπ’“π’… 𝒇𝒐𝒏𝒕 π’”π’•π’šπ’π’†.

This is the core library for uniFonts.

unifonts screenshot iphone x

π‘°π’π’”π’•π’‚π’π’π’‚π’•π’Šπ’π’

npm install lib-unifonts --save // yarn add lib-unifonts

π‘Όπ’”π’‚π’ˆπ’†

import { getAll as unifonts, fraktur } from 'lib-unifonts';

fraktur('The quick brown fox jumps over the lazy dog.', { fontStyle: 'bold' }); // π•Ώπ–π–Š π––π–šπ–Žπ–ˆπ– π–‡π–—π–”π–œπ–“ 𝖋𝖔𝖝 π–π–šπ–’π–•π–˜ π–”π–›π–Šπ–— π–™π–π–Š π–‘π–†π–Ÿπ–ž π–‰π–”π–Œ

// returns all fonts like this
unifonts(string): [{name: string, value: string}, ...]

π‘«π’Šπ’‡π’‡π’†π’“π’†π’π’„π’† π’ƒπ’†π’•π’˜π’†π’†π’ π’•π’‰π’Šπ’” 𝒂𝒏𝒅 π’˜π’†π’Šπ’“π’…-𝒇𝒐𝒏𝒕𝒔 (𝒂𝒏𝒄𝒆𝒔𝒕𝒐𝒓!)

  • A lot more fonts.
  • Creating/Adding new fonts is a breeze. (see ./script/instructions)
  • Auto generates unit test for each font added.
  • Ability to get all fonts with their respective name.

π‘ͺπ’π’π’•π’“π’Šπ’ƒπ’–π’•π’Šπ’π’ˆ

I'm open to any kind of contribution.

  • Make sure you have prettier set up

π‘³π’Šπ’„π’†π’π’”π’†

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.