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

tiju_translate

v0.1.3

Published

Your package description

Readme

Tiju Translate

A React application with Google Translate integration that provides a clean, responsive translation interface.

Features

  • Google Translate Widget Integration: Seamless integration with Google Translate API
  • Responsive Design: Optimized for desktop, tablet, and mobile devices
  • Clean UI: Hidden Google Translate banner with custom styling
  • Fixed Position Dropdown: Translate widget positioned in the top-right corner
  • React Router: Navigation between home and translate pages

Getting Started

Prerequisites

  • Node.js (version 14 or higher)
  • npm or yarn

Installation

  1. Clone the repository or navigate to the project directory
  2. Install dependencies:
    npm install

Running the Application

  1. Start the development server:

    npm start
  2. Open http://localhost:3000 to view it in the browser.

  3. Navigate to /translate to see the Google Translate widget in action.

Project Structure

src/
├── components/
│   ├── Home.tsx          # Home page component
│   ├── Translate.tsx     # Translate page with Google Translate widget
│   └── translate.css     # Styling for the translate component
├── types/
│   └── global.d.ts       # TypeScript declarations for Google Translate API
├── App.tsx               # Main app component with routing
└── index.tsx             # App entry point

How It Works

  1. Home Page (/): Welcome page with navigation to the translate page
  2. Translate Page (/translate): Contains the Google Translate widget
    • Loads Google Translate script dynamically
    • Initializes the translate widget
    • Handles cleanup when component unmounts
    • Responsive design for different screen sizes

Styling Features

  • Hidden Banner: Google Translate's top banner is completely hidden
  • Fixed Position: Translate dropdown is positioned in the top-right corner
  • Responsive: Different layouts for desktop, tablet, and mobile
  • Clean Interface: Removes Google branding and unnecessary elements

Available Scripts

  • npm start - Runs the app in development mode
  • npm test - Launches the test runner
  • npm run build - Builds the app for production
  • npm run eject - Ejects from Create React App (one-way operation)

Technologies Used

  • React 18
  • TypeScript
  • React Router DOM
  • Google Translate API
  • CSS3 with responsive design

Browser Support

This application works in all modern browsers that support:

  • ES6+ JavaScript
  • CSS Grid and Flexbox
  • Google Translate API

Notes

  • The Google Translate widget requires an internet connection to function
  • The translate functionality is provided by Google's free translation service
  • No API keys are required for basic translation functionality