
Product
Introducing the Alert Details Page: A Better Way to Explore Alerts
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

The best project ever.
To install the module, run the following in the command line:
npm i strip-yfm --save
Use within your application with the following line of JavaScript:
var yfm = require('strip-yfm');
Type: Object
Default: {start: '---', end: '---'}
The starting and ending delimiters that are used before and after the YAML front matter.
For example:
var yfm = require('strip-yfm');
var delimiters = {
start: '/*---',
end: '---*/'
};
var file = require('fs').readFileSync('my-file.hbs', 'utf8');
var strippedFile = yfm.strip(file, delimiters);
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [grunt][].
Jon Schlinkert
Copyright (c) 2013 Jon Schlinkert, contributors. Released under the MIT license
This file was generated on Friday, October 11, 2013.
FAQs
Strip YAML front matter from files.
We found that strip-yfm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.