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

request-xhr-promise

v0.0.2

Published

[![](https://img.shields.io/badge/Powered%20by-choose%20json-brightgreen.svg)](https://github.com/fiveroad/choose-rollup-typescript) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/fiveroad/choose-rollup-typescript/blob/

Downloads

3

Readme

choose-rollup-typescript

license npm

简体中文

可能是最好用的 json 对象工具类

特性

  • 支持 TypeScript 编写源码,编译生成生产代码
  • 集成 babel-runtime (默认关闭)
  • 集成代码风格校验(tslint)
  • 集成单元测试环境(jest)
  • 集成测试覆盖率(istanbul)
  • 集成可持续构建工具 travis-ci
  • 集成 ISSUE_TEMPLATE

注意: 如果不同时使用 export 与 export default, 可打开 legacy 模式。legacy 模式下的模块系统可以兼容 ie6-8,见 rollup 配置文件

兼容性

单元测试保证支持如下环境:

| IE | CH | FF | SF | OP | IOS | Android | Node | | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ----- | | 6+ | 29+ | 55+ | 9+ | 50+ | 9+ | 4+ | 4+ |

注意:编译代码依赖 ES5 环境,对于 ie6-8 需要引入 es5-shim 才可以兼容

目录介绍

.
├── example 示例展示
├── dist 编译产出代码
├── doc 项目文档
├── src 源代码目录
├── test 单元测试
├── CHANGELOG.md 变更日志
└── TODO.md 计划功能

使用者指南

通过npm下载安装代码

$ npm install --save choose-rollup-typescript

如果你是node环境

const coJson = require('choose-rollup-typescript');

如果你是webpack等环境

import CoJson from 'choose-rollup-typescript';

文档

$ npm install

To build the project:

$ npm run build

To run unit tests:

$ npm test