source/index.js
function get_node_pseudo_classes_and_media_queries_and_keyframes(node)
{
	return Object.keys(node)
	// get all child style classes this style class node, 
	// which aren't modifiers and are a pseudoclass or a media query or keyframes
	.filter(property => typeof(node[property]) === 'object' 
		&& (is_pseudo_class(property) || is_media_query(property) || is_keyframes(property))
		&& !node[property]._is_a_modifier)
	// for each child style class of this style class node
	.reduce(function(pseudo_classes_and_media_queries_and_keyframes, name)
	{
		pseudo_classes_and_media_queries_and_keyframes[name] = node[name]
		return pseudo_classes_and_media_queries_and_keyframes
	}, 
	{})
}
function get_node_pseudo_classes_and_media_queries_and_keyframes(node)
{
	return Object.keys(node)
	// get all child style classes this style class node, 
	// which aren't modifiers and are a pseudoclass or a media query or keyframes
	.filter(property => typeof(node[property]) === 'object' 
		&& (is_pseudo_class(property) || is_media_query(property) || is_keyframes(property))
		&& !node[property]._is_a_modifier)
	// for each child style class of this style class node
	.reduce(function(pseudo_classes_and_media_queries_and_keyframes, name)
	{
		pseudo_classes_and_media_queries_and_keyframes[name] = node[name]
		return pseudo_classes_and_media_queries_and_keyframes
	}, 
	{})
}
function get_node_pseudo_classes_and_media_queries_and_keyframes ( node ) { return Object . keys ( node ) // get all child style classes this style class node,  // which aren't modifiers and are a pseudoclass or a media query or keyframes . filter ( property => typeof ( node [ property ] ) === 'object' && ( is_pseudo_class ( property ) || is_media_query ( property ) || is_keyframes ( property ) ) && ! node [ property ] . _is_a_modifier ) // for each child style class of this style class node . reduce ( function ( pseudo_classes_and_media_queries_and_keyframes , name ) { pseudo_classes_and_media_queries_and_keyframes [ name ] = node [ name ] return pseudo_classes_and_media_queries_and_keyframes } , { } ) }
extracts root pseudo-classes and media queries of this style class node
extracts root pseudo - classes and media queries of this style class node