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 🙏

© 2024 – Pkg Stats / Ryan Hefner

stringy.io

v0.0.39

Published

CLI for Stringy.io the i18n tool

Downloads

7

Readme

#WARNING - THIS PACKAGE IS UNDER DEVELOPMENT AND IS NOT CURRENTLY USEFUL TO ANYONE EXCEPT THE DEVELOPERS

Stringy CLI

Command line tools for Stringy.io, the internationalisation tool for developers.

Installation

Install the node npm package globally to have access to the shell command stringy

npm install stringy.io -g

If you don't have an account yet you will need to set one up at https://stringy.io

Setup

You need to have a stringy.json file in the root of your project. Something like the one below

Example stringy.json
{
  "name":"my project name",
  "version":"0.0.1",
  "projectUrl":"https://stringy.com/company/project",
  "patterns":"objc",
  "inputDirs":[
    "ShiftMarket"
  ],
  "excludeDirs":[
    "Vendor",
    "Build",
    "Assets",
    "Pods"
  ],
    "includedFileExtensions":[
    "m"
  ],
  "excludedFileExtensions":[
    "h",
    "strings",
    "plist"
  ]
}

name (string)

The name attribute is purely optional

projectUrl

The projectUrl attribute is purely optional

patterns (string)

The patterns attribute is required and is used to specify which particular regex patterns will be used to parse your project. This value represents the name of a corresponding file in the patterns folder. e.g. objc will load the contents of patterns/objc.js as the regex patterns to parse the project with. If you wish to add a new pattern file, please let us know.

inputDirs (array)

The inputDirs attribute is required and is used to specify what particular folders will be parsed.

excludeDirs (array)

Is optional and is used to specify what particular folders will NOT be parsed.

includedFileExtensions (array)

Is optional and is used to specify which particular file extensions will be parsed.

excludedFileExtensions (array)

Is optional and is used to specify which particular file extensions will NOT be parsed.

Commands

find

Find strings in your project. Optionally pass -v for verbose logging

$ stringy find -v

ssh -nT -L 9891:stg.api.stringy.io:80 [email protected] sleep 60

curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"jsonrpc":"2.0","id":1,"method":"Auth.User.login","params":{"username":"brenwell","password":"e4218a7dc817ad8120ae11ca5156cc0fd9feeef8c11d517d745e1dcf8b54a3f9"}}' http://127.0.0.1:9891

curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"jsonrpc":"2.0","id":1,"method":"Auth.User.login","params":{"username":"brenwell","password":"e4218a7dc817ad8120ae11ca5156cc0fd9feeef8c11d517d745e1dcf8b54a3f9"}}' --proxy http://127.0.0.1:8888 http://127.0.0.1:9891 Host: http://stg.api.stringy.io

curl --socks5 127.0.0.1:9891 http://stg.api.stringy.io