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

liwcjs-dictionary

v0.1.0

Published

Parse and manipulate multiple LIWC dictionary files.

Downloads

5

Readme

LIWCjs Dictionary

Parse and manipulate multiple LIWC dictionary files.

Table of Contents

  1. Install
  2. Usage
  3. To-Do
  4. References
  5. Disclaimer
  6. License

Install

Requires Node.js v8.10.0 or above.

To install:

npm install --save liwcjs-dictionary

or, to install without development dependencies:

npm install --save --production liwcjs-dictionary

Usage

LIWCjs-Dictionary is a node module which can be added to your node project like any other:

const LIWCDictionary = require('liwcjs-dictionary');

All of LIWCjs-Dictionary's DictionaryContainer functions are async and return a promise containing the dictionary object.

See test/test.js for a complete usage example.

See docs/index.html for API documentation.

To-Do

  • [ ] Testing LIWC 2007 dictionary format
  • [ ] Unit tests
  • [ ] Improved error handling
  • [ ] Complete documentation

Contributing

Contributions are welcome and encouraged. Please read CODE_OF_CONDUCT.md, SECURITY.md and consult the docs directory first.

LIWCjs-Dictionary is written in Typescript and uses gts.

Please run gts fix on any code you're wanting to submit and make sure it compiles using tsc -p .

As the purpose of this project is to provide results which match LIWC2015, contributions which affect the accuracy of results will not be accepted.

References

Gottschalk, L.A. (1997). The unobtrusive measurement of psychological states and traits. In Text Analysis for the Social Sciences, (Carl W. Roberts, editor). 117-129.

Pennebaker, J.W. (2011). The Secret Life of Pronouns: What Our Words Say About Us. New York: Bloomsbury.

Tausczik, Y.R., & Pennebaker, J.W. (2010). The psychological meaning of words: LIWC and computerized text analysis methods. Journal of Language and Social Psychology, 29, 24-54.

Disclaimer

LIWCjs & LIWCjs-Dictionary are unauthorised, unofficial attempts to replicate the functionality of LIWC which is closed-source software created by Pennebaker Conglomerates, Inc. LIWCjs, LIWCjs-Dictionary, their creator and their contributors are not affiliated with, and do not represent, Pennebaker Conglomerates, Inc.

LIWCjs does not provide medical advice. It is intended for informational purposes only.

LIWCjs-Dictionary is shared under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported license. See LICENSE for further disclaimers.

License

Copyright 2019 P. Hughes. All rights reserved.

Shared under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported license. See LICENSE for further details.