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

@libero/texture

v0.0.15

Published

A word processor for structured content.

Downloads

2

Readme

Texture Build Status

Code Quality: Javascript Total Alerts

Texture is a toolset designed for the production of scientific content. It uses the Dar Format, which defines a stricter form of the JATS Archiving and Interchange Tag Set ("green" v. 1.1) XML standard.

Texture User Interface

Feature requests and Feedback

Feature requests can be made via the GitHub issues using a Feature request template. It will be assessed and costed, then scheduled accordingly in collaboration with the requesting organisation. Please feedback any problems with the product using the Bug template.

Install

You need Node 8.x installed on your system.

Clone the repository.

$ git clone https://github.com/substance/texture.git

Navigate to the source directory.

$ cd texture

Install via npm.

$ npm install

Start the dev server.

$ npm start

And navigate to http://localhost:4000.

You can save your document changes by pressing CommandOrControl+S.

To test with your own JATS-documents, just replace the contents of data/kitchen-sink/manuscript.xml.

Texture Desktop

We also offer Texture wrapped in an Electron application.

$ npm run app

To package the application for distribution do the following:

$ npm run release

MacOS

Running the installed application from command line:

open -a /Applications/Texture.app my-article.dar

Running tests

Running tests in NodeJS (like it is done on TravisCI):

npm test

Debugging NodeJS tests:

node make test-nodejs && node --inspect-brk --require esm test/index.js

Then open chrome://inspect. It should show a Remove Target for the test script. Clicking on inspect opens a new window with Chrome Developer Tools.

Running a some NodeJS tests:

TEST="Model" npm test

The environment variable TEST is used as a filter to select test that have that pattern in their name.

Running tests in the browser:

node make test-browser -w -s

Then open localhost:4000/test.

License

Texture is open source (MIT license), and you are legally free to use it commercially. If you are using Texture to make profit, we expect that you help fund its development and maintenance.

Credits

Texture is developed by the Substance Consortium formed by the Public Knowledge Project (PKP), the Collaborative Knowledge Foundation (CoKo), SciELO, Érudit and eLife.

The following people make Texture possible (in random order):

  • Alex Garnett (leadership, concept)
  • Juan Pablo Alperin (leadership, concept)
  • Alex Smecher (concept, dev)
  • Tanja Niemann (leadership)
  • Melissa Harrison (requirements)
  • Giuliano Maciocci (requirements, concept)
  • Naomi Penfold (leadership)
  • Nick Duffield (design)
  • Davin Baragiotta (concept, dev)
  • David Cormier (dev)
  • Sophy Ouch (design)
  • Philipp Zumstein (dev)
  • Fabio Batalha Cunha dos Santos (leadership, concept)
  • James Gilbert (UX, requirements)
  • Luciano Gabriel Panepucci (UX)
  • Michael Aufreiter (dev)
  • Oliver Buchtala (dev)
  • Daniel Beilinson (dev)