Skip to content

Instantly share code, notes, and snippets.

@diurivj
Created June 15, 2025 16:00
Show Gist options
  • Save diurivj/15cecf529c98c93ad1d55655c12815c1 to your computer and use it in GitHub Desktop.
Save diurivj/15cecf529c98c93ad1d55655c12815c1 to your computer and use it in GitHub Desktop.
const books = [
{
title: "Own the Moment",
author: "Carl Lentz",
year: 2017,
genre: "Spiritual",
pages: 288,
read: true,
type: "physical",
},
{
title: "Don Quixote",
author: "Miguel de Cervantes",
year: 1605,
genre: "Novel",
pages: 1024,
read: false,
type: "digital",
},
{
title: "A Tale of Two Cities",
author: "Charles Dickens",
year: 1859,
genre: "Historical Fiction",
pages: 448,
read: true,
type: "physical",
},
{
title: "The Lord of the Rings",
author: "J.R.R. Tolkien",
year: 1954,
genre: "Fantasy",
pages: 1178,
read: true,
type: "physical",
},
{
title: "The Little Prince",
author: "Antoine de Saint-Exupéry",
year: 1943,
genre: "Fable",
pages: 96,
read: true,
type: "digital",
},
{
title: "Harry Potter and the Sorcerer's Stone",
author: "J.K. Rowling",
year: 1997,
genre: "Fantasy",
pages: 309,
read: true,
type: "physical",
},
{
title: "And Then There Were None",
author: "Agatha Christie",
year: 1939,
genre: "Mystery",
pages: 272,
read: false,
type: "physical",
},
{
title: "The Dream of the Red Chamber",
author: "Cao Xueqin",
year: 1791,
genre: "Family Saga",
pages: 2500,
read: false,
type: "digital",
},
{
title: "The Hobbit",
author: "J.R.R. Tolkien",
year: 1937,
genre: "Fantasy",
pages: 310,
read: true,
type: "physical",
},
{
title: "She: A History of Adventure",
author: "H. Rider Haggard",
year: 1887,
genre: "Adventure",
pages: 320,
read: false,
type: "digital",
},
{
title: "The Lion, the Witch and the Wardrobe",
author: "C.S. Lewis",
year: 1950,
genre: "Fantasy",
pages: 208,
read: true,
type: "physical",
},
{
title: "The Da Vinci Code",
author: "Dan Brown",
year: 2003,
genre: "Mystery",
pages: 489,
read: true,
type: "physical",
},
{
title: "Think and Grow Rich",
author: "Napoleon Hill",
year: 1937,
genre: "Self-help",
pages: 238,
read: true,
type: "digital",
},
{
title: "To Kill a Mockingbird",
author: "Harper Lee",
year: 1960,
genre: "Southern Gothic",
pages: 324,
read: true,
type: "physical",
},
{
title: "1984",
author: "George Orwell",
year: 1949,
genre: "Dystopian",
pages: 328,
read: true,
type: "physical",
},
{
title: "The Catcher in the Rye",
author: "J.D. Salinger",
year: 1951,
genre: "Coming-of-age",
pages: 224,
read: false,
type: "digital",
},
{
title: "The Great Gatsby",
author: "F. Scott Fitzgerald",
year: 1925,
genre: "Tragedy",
pages: 180,
read: true,
type: "physical",
},
{
title: "Lord of the Flies",
author: "William Golding",
year: 1954,
genre: "Allegory",
pages: 224,
read: false,
type: "physical",
},
{
title: "Animal Farm",
author: "George Orwell",
year: 1945,
genre: "Political Satire",
pages: 112,
read: true,
type: "digital",
},
{
title: "Catch-22",
author: "Joseph Heller",
year: 1961,
genre: "Satire",
pages: 453,
read: false,
type: "physical",
},
{
title: "The Grapes of Wrath",
author: "John Steinbeck",
year: 1939,
genre: "Social Novel",
pages: 464,
read: true,
type: "physical",
},
{
title: "One Hundred Years of Solitude",
author: "Gabriel García Márquez",
year: 1967,
genre: "Magic Realism",
pages: 417,
read: true,
type: "digital",
},
{
title: "Lolita",
author: "Vladimir Nabokov",
year: 1955,
genre: "Tragicomedy",
pages: 336,
read: false,
type: "physical",
},
{
title: "Anne of Green Gables",
author: "L.M. Montgomery",
year: 1908,
genre: "Children's Novel",
pages: 320,
read: true,
type: "physical",
},
{
title: "Charlotte's Web",
author: "E.B. White",
year: 1952,
genre: "Children's Literature",
pages: 184,
read: true,
type: "digital",
},
{
title: "Black Beauty",
author: "Anna Sewell",
year: 1877,
genre: "Children's Literature",
pages: 256,
read: false,
type: "physical",
},
{
title: "The Name of the Rose",
author: "Umberto Eco",
year: 1980,
genre: "Historical Mystery",
pages: 536,
read: false,
type: "digital",
},
{
title: "The Alchemist",
author: "Paulo Coelho",
year: 1988,
genre: "Adventure",
pages: 197,
read: true,
type: "physical",
},
{
title: "Watership Down",
author: "Richard Adams",
year: 1972,
genre: "Fantasy",
pages: 478,
read: false,
type: "physical",
},
{
title: "The Pillars of the Earth",
author: "Ken Follett",
year: 1989,
genre: "Historical Fiction",
pages: 973,
read: true,
type: "digital",
},
{
title: "The Hunger Games",
author: "Suzanne Collins",
year: 2008,
genre: "Dystopian",
pages: 374,
read: true,
type: "physical",
},
{
title: "The Kite Runner",
author: "Khaled Hosseini",
year: 2003,
genre: "Historical Fiction",
pages: 372,
read: true,
type: "physical",
},
{
title: "The Help",
author: "Kathryn Stockett",
year: 2009,
genre: "Historical Fiction",
pages: 464,
read: true,
type: "digital",
},
{
title: "The Girl with the Dragon Tattoo",
author: "Stieg Larsson",
year: 2005,
genre: "Mystery",
pages: 465,
read: false,
type: "physical",
},
{
title: "A Brief History of Time",
author: "Stephen Hawking",
year: 1988,
genre: "Popular Science",
pages: 212,
read: true,
type: "digital",
},
{
title: "Sapiens: A Brief History of Humankind",
author: "Yuval Noah Harari",
year: 2011,
genre: "Non-fiction",
pages: 443,
read: true,
type: "physical",
},
{
title: "The Immortal Life of Henrietta Lacks",
author: "Rebecca Skloot",
year: 2010,
genre: "Non-fiction",
pages: 384,
read: false,
type: "physical",
},
{
title: "Educated",
author: "Tara Westover",
year: 2018,
genre: "Memoir",
pages: 352,
read: true,
type: "digital",
},
{
title: "The Diary of a Young Girl",
author: "Anne Frank",
year: 1947,
genre: "Autobiography",
pages: 283,
read: true,
type: "physical",
},
{
title: "In Cold Blood",
author: "Truman Capote",
year: 1966,
genre: "Non-fiction Novel",
pages: 343,
read: false,
type: "digital",
},
{
title: "The Tipping Point",
author: "Malcolm Gladwell",
year: 2000,
genre: "Non-fiction",
pages: 301,
read: true,
type: "physical",
},
{
title: "Freakonomics",
author: "Steven D. Levitt and Stephen J. Dubner",
year: 2005,
genre: "Non-fiction",
pages: 268,
read: true,
type: "digital",
},
{
title: "The 7 Habits of Highly Effective People",
author: "Stephen R. Covey",
year: 1989,
genre: "Self-help",
pages: 381,
read: true,
type: "physical",
},
{
title: "How to Win Friends and Influence People",
author: "Dale Carnegie",
year: 1936,
genre: "Self-help",
pages: 288,
read: true,
type: "digital",
},
{
title: "The Power of Now",
author: "Eckhart Tolle",
year: 1997,
genre: "Spiritual",
pages: 236,
read: true,
type: "physical",
},
{
title: "A New Earth",
author: "Eckhart Tolle",
year: 2005,
genre: "Spiritual",
pages: 316,
read: false,
type: "digital",
},
{
title: "The Road Less Traveled",
author: "M. Scott Peck",
year: 1978,
genre: "Psychology",
pages: 320,
read: false,
type: "physical",
},
{
title: "Man's Search for Meaning",
author: "Viktor Frankl",
year: 1946,
genre: "Psychology",
pages: 165,
read: true,
type: "digital",
},
{
title: "The Four Agreements",
author: "Don Miguel Ruiz",
year: 1997,
genre: "Spiritual",
pages: 160,
read: true,
type: "physical",
},
{
title: "The Subtle Art of Not Giving a F*ck",
author: "Mark Manson",
year: 2016,
genre: "Self-help",
pages: 224,
read: false,
type: "digital",
},
{
title: "Daring Greatly",
author: "Brené Brown",
year: 2012,
genre: "Psychology",
pages: 303,
read: true,
type: "physical",
},
{
title: "Pride and Prejudice",
author: "Jane Austen",
year: 1813,
genre: "Romance",
pages: 279,
read: true,
type: "physical",
},
{
title: "Frankenstein",
author: "Mary Shelley",
year: 1818,
genre: "Gothic Fiction",
pages: 280,
read: false,
type: "digital",
},
{
title: "Moby Dick",
author: "Herman Melville",
year: 1851,
genre: "Adventure",
pages: 635,
read: false,
type: "physical",
},
{
title: "Wuthering Heights",
author: "Emily Brontë",
year: 1847,
genre: "Gothic Fiction",
pages: 416,
read: true,
type: "digital",
},
{
title: "Jane Eyre",
author: "Charlotte Brontë",
year: 1847,
genre: "Gothic Fiction",
pages: 500,
read: true,
type: "physical",
},
{
title: "Great Expectations",
author: "Charles Dickens",
year: 1861,
genre: "Bildungsroman",
pages: 505,
read: false,
type: "physical",
},
{
title: "Crime and Punishment",
author: "Fyodor Dostoevsky",
year: 1866,
genre: "Philosophical Novel",
pages: 671,
read: false,
type: "digital",
},
{
title: "The Adventures of Huckleberry Finn",
author: "Mark Twain",
year: 1884,
genre: "Picaresque Novel",
pages: 366,
read: true,
type: "physical",
},
{
title: "The Picture of Dorian Gray",
author: "Oscar Wilde",
year: 1890,
genre: "Philosophical Novel",
pages: 254,
read: false,
type: "digital",
},
{
title: "Dracula",
author: "Bram Stoker",
year: 1897,
genre: "Gothic Horror",
pages: 418,
read: true,
type: "physical",
},
{
title: "Ulysses",
author: "James Joyce",
year: 1922,
genre: "Modernist Novel",
pages: 730,
read: false,
type: "digital",
},
{
title: "Brave New World",
author: "Aldous Huxley",
year: 1932,
genre: "Dystopian",
pages: 288,
read: true,
type: "physical",
},
{
title: "The Stranger",
author: "Albert Camus",
year: 1942,
genre: "Philosophical Novel",
pages: 123,
read: true,
type: "digital",
},
{
title: "The Bell Jar",
author: "Sylvia Plath",
year: 1963,
genre: "Semi-autobiographical",
pages: 244,
read: false,
type: "physical",
},
{
title: "Beloved",
author: "Toni Morrison",
year: 1987,
genre: "Magical Realism",
pages: 324,
read: true,
type: "physical",
},
{
title: "The Handmaid's Tale",
author: "Margaret Atwood",
year: 1985,
genre: "Dystopian",
pages: 311,
read: true,
type: "digital",
},
{
title: "Things Fall Apart",
author: "Chinua Achebe",
year: 1958,
genre: "Tragedy",
pages: 209,
read: false,
type: "physical",
},
{
title: "The Color Purple",
author: "Alice Walker",
year: 1982,
genre: "Epistolary Novel",
pages: 288,
read: true,
type: "physical",
},
{
title: "Slaughterhouse-Five",
author: "Kurt Vonnegut",
year: 1969,
genre: "Science Fiction",
pages: 275,
read: false,
type: "digital",
},
{
title: "The Hitchhiker's Guide to the Galaxy",
author: "Douglas Adams",
year: 1979,
genre: "Science Fiction",
pages: 193,
read: true,
type: "physical",
},
{
title: "Dune",
author: "Frank Herbert",
year: 1965,
genre: "Science Fiction",
pages: 412,
read: true,
type: "digital",
},
{
title: "Ender's Game",
author: "Orson Scott Card",
year: 1985,
genre: "Science Fiction",
pages: 324,
read: true,
type: "physical",
},
{
title: "Neuromancer",
author: "William Gibson",
year: 1984,
genre: "Cyberpunk",
pages: 271,
read: false,
type: "digital",
},
{
title: "Snow Crash",
author: "Neal Stephenson",
year: 1992,
genre: "Cyberpunk",
pages: 470,
read: false,
type: "physical",
},
{
title: "The Left Hand of Darkness",
author: "Ursula K. Le Guin",
year: 1969,
genre: "Science Fiction",
pages: 304,
read: true,
type: "digital",
},
{
title: "A Wizard of Earthsea",
author: "Ursula K. Le Guin",
year: 1968,
genre: "Fantasy",
pages: 183,
read: true,
type: "physical",
},
{
title: "The Name of the Wind",
author: "Patrick Rothfuss",
year: 2007,
genre: "Fantasy",
pages: 662,
read: true,
type: "digital",
},
{
title: "A Game of Thrones",
author: "George R.R. Martin",
year: 1996,
genre: "Fantasy",
pages: 694,
read: true,
type: "physical",
},
{
title: "The Eye of the World",
author: "Robert Jordan",
year: 1990,
genre: "Fantasy",
pages: 782,
read: false,
type: "digital",
},
{
title: "The Way of Kings",
author: "Brandon Sanderson",
year: 2010,
genre: "Fantasy",
pages: 1007,
read: true,
type: "physical",
},
{
title: "Guns, Germs, and Steel",
author: "Jared Diamond",
year: 1997,
genre: "Non-fiction",
pages: 480,
read: false,
type: "digital",
},
{
title: "A People's History of the United States",
author: "Howard Zinn",
year: 1980,
genre: "History",
pages: 729,
read: false,
type: "physical",
},
{
title: "The Rise and Fall of the Third Reich",
author: "William L. Shirer",
year: 1960,
genre: "History",
pages: 1245,
read: false,
type: "digital",
},
{
title: "The Autobiography of Malcolm X",
author: "as told to Alex Haley",
year: 1965,
genre: "Autobiography",
pages: 464,
read: true,
type: "physical",
},
{
title: "I Know Why the Caged Bird Sings",
author: "Maya Angelou",
year: 1969,
genre: "Autobiography",
pages: 289,
read: true,
type: "digital",
},
{
title: "Walden",
author: "Henry David Thoreau",
year: 1854,
genre: "Transcendentalism",
pages: 352,
read: false,
type: "physical",
},
{
title: "On the Origin of Species",
author: "Charles Darwin",
year: 1859,
genre: "Science",
pages: 502,
read: false,
type: "digital",
},
{
title: "The Selfish Gene",
author: "Richard Dawkins",
year: 1976,
genre: "Science",
pages: 360,
read: false,
type: "physical",
},
{
title: "A Short History of Nearly Everything",
author: "Bill Bryson",
year: 2003,
genre: "Popular Science",
pages: 544,
read: true,
type: "digital",
},
{
title: "Cosmos",
author: "Carl Sagan",
year: 1980,
genre: "Science",
pages: 365,
read: true,
type: "physical",
},
{
title: "The Republic",
author: "Plato",
year: -375,
genre: "Philosophy",
pages: 416,
read: false,
type: "digital",
},
{
title: "Meditations",
author: "Marcus Aurelius",
year: 180,
genre: "Philosophy",
pages: 304,
read: true,
type: "physical",
},
{
title: "The Prince",
author: "Niccolò Machiavelli",
year: 1532,
genre: "Political Philosophy",
pages: 140,
read: false,
type: "digital",
},
{
title: "Leviathan",
author: "Thomas Hobbes",
year: 1651,
genre: "Political Philosophy",
pages: 736,
read: false,
type: "physical",
},
{
title: "The Social Contract",
author: "Jean-Jacques Rousseau",
year: 1762,
genre: "Political Philosophy",
pages: 192,
read: false,
type: "digital",
},
{
title: "The Wealth of Nations",
author: "Adam Smith",
year: 1776,
genre: "Economics",
pages: 1232,
read: false,
type: "physical",
},
{
title: "The Communist Manifesto",
author: "Karl Marx and Friedrich Engels",
year: 1848,
genre: "Political Philosophy",
pages: 68,
read: true,
type: "digital",
},
{
title: "Thus Spoke Zarathustra",
author: "Friedrich Nietzsche",
year: 1883,
genre: "Philosophy",
pages: 352,
read: false,
type: "physical",
},
{
title: "The Interpretation of Dreams",
author: "Sigmund Freud",
year: 1899,
genre: "Psychology",
pages: 640,
read: false,
type: "digital",
},
{
title: "One Flew Over the Cuckoo's Nest",
author: "Ken Kesey",
year: 1962,
genre: "Novel",
pages: 320,
read: true,
type: "physical",
},
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment