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

tistory-skin

v2.1.0

Published

Unofficial Tistory Skin API

Downloads

106

Readme

Unofficial Tistory Skin API

비공식 티스토리 API 입니다. 티스토리 스킨 파일을 업로드하거나 블로그에 적용시키는 등 스킨과 아카이브를 조작하고 제어할 수 있습니다. 단, 비공식이기 때문에 언제든 티스토리 측에서 내부적으로 패치를 진행하여 기존에 작성된 코드가 적용되지 않거나 에러가 발생할 수 있음을 인지하고 사용하시기 바랍니다.

설치

npm install --save tistory-skin

시작하기

Skin 을 사용하면 티스토리 스킨을 조작할 수 있고, 배포하거나 파일을 첨부할 수 있습니다. Archive티스토리 스킨 저장소에 대응하며 스킨 저장소에 파일을 배포하고 저장하는 메서드를 제공합니다. 사용할 수 있는 메서드는 링크를 참고하시면 되겠습니다.

const { Skin, Archive } = require('tistory-skin');

(async () => {
  const skin = new Skin('__BLOG_URL__', '__TSSESSION__')

  let { data } = await skin.settings()

  // { name: ...., }
  console.log(data.skin)
})()

Skin, Archive 를 사용할 때 매개변수에 대해 일부 유의해야 할 점이 있습니다. __BLOG_URL__ 에는 자신이 소유한 블로그만 사용해야 하며, __TSSESSION__ 에는 티스토리에 로그인하고, 쿠키 저장소를 참고하여 TSSSESSION 값을 넣어야합니다. 이 값은 세션(Session) 값이므로 절대로 다른 사람에게 노출되어서는 안 됩니다.

저작권

MIT

Copyright 2019-2024. SangWoo Jeong. All rights reserved.