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

@abdulselam/phone-input-free-syria

v1.0.0

Published

React phone input with the new Free Syria independence flag (2025) 🇸🇾

Readme

@abdulselam/phone-input-free-syria

React phone input component with the new Free Syria independence flag (2025) 🇸🇾

A drop-in replacement for react-phone-input-2 that replaces the outdated Ba'athist flag with the correct Syrian independence flag — green, white, and black stripes with three red stars.


Installation

npm install @abdulselam/phone-input-free-syria

Usage

import PhoneInput from '@abdulselam/phone-input-free-syria';
import '@abdulselam/phone-input-free-syria/style.css';

export default function MyForm() {
  const [phone, setPhone] = useState('');

  return (
    <PhoneInput
      country="sy"
      value={phone}
      onChange={(value) => setPhone(value)}
    />
  );
}

Props

This component accepts all the same props as react-phone-input-2.

| Prop | Type | Default | Description | |------|------|---------|-------------| | country | string | "sy" | Default selected country code | | value | string | "" | Phone number value | | onChange | (value, data) => void | — | Called when value changes | | placeholder | string | — | Input placeholder text | | disabled | boolean | false | Disable the input | | enableSearch | boolean | false | Enable country search | | preferredCountries | string[] | — | Countries shown at top of list |

For the full list of props, see the react-phone-input-2 documentation.


Example with common options

import PhoneInput from '@abdulselam/phone-input-free-syria';
import '@abdulselam/phone-input-free-syria/style.css';

<PhoneInput
  country="sy"
  value={phone}
  onChange={setPhone}
  enableSearch={true}
  preferredCountries={['sy', 'sa', 'jo', 'lb']}
  placeholder="أدخل رقم الهاتف"
/>

About the flag

The Syrian independence flag was the official flag of Syria from 1932 and was re-adopted in December 2024 following the fall of the Assad regime. It features:

  • 🟩 Green stripe (top) — #007A3D
  • White stripe (middle) — #FFFFFF
  • Black stripe (bottom) — #000000
  • ⭐⭐⭐ Three red stars — #CE1126

License

MIT © abdulselam