Giter VIP home page Giter VIP logo

load-nextstep-plist's Introduction

load-nextstep-plist Build Status Coverage Status

Read and parse a NeXTSTEP property list file

Loads property list files that follow the NeXTSTEP “plain text” format. Also works with other file formats that use the same syntax, such as the .glyphs files used for the Glyphs font editor.

Install

npm install --save load-nextstep-plist

Usage

const LOAD_PLIST = require('load-nextstep-plist')

LOAD_PLIST('test.plist')
	.then(data => {
		console.log(data)
		// => { foo: 'bar' }
	})

API

loadNextstepPlist(filepath)

Returns a promise for the parsed property list file.

loadNextstepPlist.sync(filepath)

Returns the parsed property list file.

const LOAD_PLIST = require('load-nextstep-plist')

console.log(LOAD_PLIST.sync('test.plist'))
// => { foo: 'bar' }

See also

Acknowledgements

Parsing is accomplished using Chee’s nextstep-plist module.

This module is modelled on Sindre Sorhus’s load-json-file.

License

This software is free to use, modify, and redistribute under a GNU General Public License.

load-nextstep-plist's People

Contributors

delucis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

load-nextstep-plist's Issues

.

Just wanted to say I enjoyed your TypeError sassiness, this is not an issue
Screen Shot 2022-10-18 at 4 34 07 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.