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

create-export-json

v1.0.2

Published

Export Json file by typing easily in input interface

Readme

ezgif com-gif-maker

Introduction - 소개

It's module for export JSON file by write in input. You can change colum and label name in App.js.

비슷한 구조의 텍스트 데이터를 Front 화면에서 편하게 작업하고, 바로 JSON 파일로 포맷팅 하여 추출할 수 있습니다.

Reasons for developing this project - 프로젝트 개발 이유

매 회차로 발송되는 다국어 매거진 프로젝트에서 텍스트 작업을 좀 더 수월하게 할 수 있는 방법을 고민했습니다. 보다 직관적이고 빠르게 작업 하기 위해 Input창에서 쉽게 텍스트를 입력 하여 바로 파일로 추출할 수 있도록 함으로써, 작업자의 편의성과 작업속도를 향상시킬 수 있었습니다.

Install - 설치

You should clone this project and run at the local envrionment.

프로젝트를 clone 하고 로컬환경에서 서버를 열어 사용합니다.

npx create-export-json my-app

Open Server - 서버

npm run start

Port

localhost:8080

Used Stack - 사용기술

This project developed in vanila javascript and Apis are developed in NodeJS and Express

이 프로젝트는 바닐라 자바스크립트로 제작되었고, class로 UI를 컴포넌트화 하여 만든 모듈 프로젝트 입니다. 서버는 NodeJSExpress로 개발 되었습니다.

Usage - 사용법

column 추가와 제거가 가능하고 한번 추출한 파일은 localstorage에 저장됩니다.

따라서 추후에 화면에서 데이터가 남아 있는 상태로 추가 수정작업하여 추출이 가능합니다.

Naming JSON file name - 파일이름 설정

상단에 있는 file name input에서 저장할 파일의 이름을 설정할 수 있습니다. 설정하지 않으면 file.json이 기본 값으로 설정됩니다.

image

column & key value modify - 데이터 컬럼 & 키 수정

App.js파일에 아래 데이터를 수정하면 column, key 값을 원하는대로 조율 할 수 있습니다.

✅ Example - 예시

App.js

this.menuList = ['kr', 'cn']
this.contentsList = [
  'KEYWORD',
  'INTERVIEW',
  'TRAVEL',
  'FASHION & BEAUTY',
  'EVENT',
  'SPECIAL ISSUE',
]
this.labelList = ['subNum', 'label']

Export result - 추출 결과

{
  "kr": [
    { "subNum": "", "label": "" },
    { "subNum": "", "label": "" },
    { "subNum": "", "label": "" },
    { "subNum": "", "label": "" },
    { "subNum": "", "label": "" },
    { "subNum": "", "label": "" }
  ],
  "cn": [
    { "subNum": "", "label": "" },
    { "subNum": "", "label": "" },
    { "subNum": "", "label": "" },
    { "subNum": "", "label": "" },
    { "subNum": "", "label": "" },
    { "subNum": "", "label": "" }
  ]
}

Save JSON file - JSON 파일 저장

데이터를 모두 입력 후 하단의 Save as JSON file을 클릭하면 export-json-module/dist폴더에 JSON 파일이 저장됩니다. 그리고 동시에 localstorage에 데이터가 저장되어 새로고침을 하여도 입력한 데이터가 남아 있습니다. dist폴더가 없다면 파일을 저장함과 동시에 자동으로 폴더를 생성해줍니다.

image

export-json-module/dist > image

Clear Stoarge - 스토리지비우기

상단의 Clear Storage 버튼을 클릭하면 localstorage가 지워지고 새롭게 데이터를 작성 할 수 있습니다.