Git Product home page Git Product logo

bennettelisa / black-women-inspire Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 1.0 910 KB

Black-women-inspire is an API that allows users to add quotes as a gadget. Quotes are from Black women who have inspired us throughout history. This is a Node.js module available through the npm registry. ❤️

Home Page: https://www.npmjs.com/package/black-women-inspire

License: MIT License

JavaScript 100.00%
npm-package npm-module javascript women quotes inspiration

black-women-inspire's Introduction

npm image Licensed Photo from Adobe Stock

70 Inspiring Quotes from Black Women

A collection of 70 inspiring quotes from Black women. Quotes range from civil-rights icons to writers, singers, poets, politicians, lawyers and influencers. All of these quotes will inspire you and help you seize each day with confidence, courage and self-love.

Install using npm

npm install black-women-inspire

Usage

const blackWomenInspire = require('black-women-inspire')

blackWomenInspire.getQuote();
// =>  "Success is liking yourself, liking what you do, and liking how you do it." -  Maya Angelou

blackWomenInspire.getQuote()
// => "Am I good enough? Yes I am." - Michelle Obama

blackWomenInspire.getArrayOfQuotes()
// => [
        {
            quote: 'Success is liking yourself, liking what you do, and liking how you do it.',
            author: 'Maya Angelou'
        },
        {
            quote: 'You will be wounded many times in your life. You’ll make mistakes. Some people will call them failures but I have learned that failure is really God’s way of saying, “Excuse me, you’re moving in the wrong direction.” It’s just an experience, just an experience.',
            author: 'Oprah Winfrey'
        } .... ]

API

  • .getQuote()

    Type: Function

    Random quote with author name.

  • .getArrayOfQuotes()

    Type: Function

    Returns an array with all the quotes. Each quote is an object with two properties - quote and author.

License

MIT © Elisa Bennett

black-women-inspire's People

Contributors

bennettelisa avatar senseofsteph avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

senseofsteph

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.