chrisdmacrae / front-matter-manipulator Goto Github PK
View Code? Open in Web Editor NEWA utility for parsing and manipulating documents with Front Matter
Home Page: https://chrisdmacrae.github.io/front-matter-manipulator
A utility for parsing and manipulating documents with Front Matter
Home Page: https://chrisdmacrae.github.io/front-matter-manipulator
It would really be great if update
was able to add a new data key/value pair when passing an in-existing key as argument.
The current behaviour when doing the above is a successfully updated list of items. Yet the data set is not added.
Currently the commands are written partially synchronous, which means the I/O can be blocked when reading many files or updating many files.
Moving to promise-based async will allow the commands to run much faster.
update
to be asyncrename
to be asyncvalues
to be asyncfields
to be asyncarray
functions to be asyncreadFileSync
and writeFileSync
to be asyncglob
actions to be asyncIn some cases you may have a bunch of extra fields that you no longer need, being able to batch remove them from many files is ideal.
Currently, either the CMS you use must do this, you must do it by hand, or by writing a script.
In some cases, you may have many fields that are very similar or are used for the same purpose, and want to consolidate these to have leaner FMTs.
This currently requires a lot of tedious, manual work. Having a utility that finds all possible values for each key, and allows you to merge them / pick a preferred value for a single (or new key) would be ideal for site migration and updating.
--by-fields description,summary,excerpt
)A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.