Neverending Package Mountain

    sjt

    0.0.3 • Public • Published

    📝 sjt 📝

    📝 Scan JSX Text 📝

    CircleCI code coverage npm version license code style: prettier

    Copy text from JSXText nodes into a separate file:

    # example.js 
    # import React from 'react'; 
     
    # export default function Example() { 
    #   return ( 
    #     <div> 
    #       <span>Hello world!</span> 
    #     </div> 
    #   ); 
    # } 
     
    sjt ./example.js
     
    # output: 
    # example.json 
    # { 
    #   "example.helloWorld": "Hello world!" 
    # } 

    🚀 Installation

    You don't really need to install anything to use sjt. You can use it with npx:

    npx sjt

    In case you want to install it:

    # might need to run it with sudo on Linux
    npm i -g sjt
    

    👨‍⚖️ License

    MIT

    Install

    npm i sjt

    DownloadsWeekly Downloads

    3

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    8.73 kB

    Total Files

    6

    Last publish

    Collaborators

    • janczizikow